-
Notifications
You must be signed in to change notification settings - Fork 100
Field: Media
Nadim Tuhin edited this page Aug 15, 2015
·
1 revision
Media field simultaneously allows you to pick font and images with separate button. Icon button will open the icon pick, and image will open your WordPress media to select image with default wordpress settings.
Preview
Name | Type | Default | Description |
---|---|---|---|
type | string | icon | This Value identifies the field type |
name | string | A unique name required to define | |
label | string | Displays as field label | |
value | string | String that appears as Icon and image input |
array(
'name' => 'title', // Required
'type' => 'icon',
'label' => 'Title', // Optional, name will use instead
'value' => 'Let's make a better website together' // Default value
),