Skip to content

Instantly share code, notes, and snippets.

@RyanBayne
Last active June 14, 2017 12:32
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 RyanBayne/c0c3d0ca4e7c78f69e1b82aaae9a3ad3 to your computer and use it in GitHub Desktop.
Save RyanBayne/c0c3d0ca4e7c78f69e1b82aaae9a3ad3 to your computer and use it in GitHub Desktop.
array(
'title' => __( 'SECTIONTITLE', 'multitool' ),
'type' => 'title',
'desc' => 'SECTIONDESCRIPTION',
'id' => 'SECTIONID',
),
array(
'title' => __( 'GROUPTITLE', 'multitool' ),
'desc' => __( 'INPUTDESCRIPTION.', 'multitool' ),
'id' => 'REPLACETHISINPUTID',
'default' => 'yes',
'type' => 'checkbox',
'checkboxgroup' => 'start',
'show_if_checked' => 'option',
),
array(
'desc' => __( 'INPUTDESCRIPTION', 'multitool' ),
'id' => 'REPLACETHISINPUTID',
'default' => 'yes',
'type' => 'checkbox',
'checkboxgroup' => '',
'show_if_checked' => 'yes',
'autoload' => false,
),
array(
'desc' => __( 'INPUTDESCRIPTION', 'multitool' ),
'id' => 'REPLACETHISINPUTID',
'default' => 'no',
'type' => 'checkbox',
'checkboxgroup' => 'end',
'show_if_checked' => 'yes',
'autoload' => false,
),
array(
'type' => 'sectionend',
'id' => 'SECTIONID'
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment