Switcher

Display switch for On & Off input fields.

Code Sample:

array(
        'id'		    => 'switcher_2_field',
        'title'		    => __('Switcher Field','text-domain'),
        'details'	    => __('Description of switcher field','text-domain'),
        'value'		    => '',
        'default'		=> '2',
        'args'		=> array(
            'on'	=> __('On','text-domain'),
            'off'	=> __('Off','text-domain'),
        ),

    ),

Preview:

Option Framework