0
array(
    'name'        => 'textarea',
    'label'       => __( 'Textarea Input', 'wedevs' ),
    'desc'        => __( 'Textarea description', 'wedevs' ),
    'placeholder' => __( 'Textarea placeholder', 'wedevs' ),
    'type'        => 'textarea'
),

Just like in the above example the 'type' => 'textarea'

what is its equivalent for a font?

I tried →

'type' => 'font'; but that didn't work.

1

There is no field in HTML called font. You need to create select dropdown. Also change it's name for uniqueness.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.