Skip to content

Instantly share code, notes, and snippets.

@dovy
Last active December 22, 2015 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dovy/6532847 to your computer and use it in GitHub Desktop.
Save dovy/6532847 to your computer and use it in GitHub Desktop.
<?
$field = array(
'id'=>'18',
'type' => 'button_set',
'title' => __('Button Set Option', 'redux-framework'),
'subtitle' => __('No validation can be done on this field type', 'redux-framework'),
'desc' => __('This is the description field, again good for additional info.', 'redux-framework'),
'options' => array('1' => 'Opt 1','2' => 'Opt 2','3' => 'Opt 3'), //Must provide key => value pairs
'default' => '2'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment