Skip to content
Nadim Tuhin edited this page Aug 15, 2015 · 1 revision

The field offers the ability to select image from WordPress media manager with WordPress populated settings.

alt text

Preview

Arguments

Name Type Default Description
type string image 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 Image input

Example Code

array(
      'name'  => 'title', // Required
      'type'  => 'image',
      'label' => 'Title', // Optional, name will use instead
      'value' => '' // Default value
),