Yes/no
See Text field for complete documentation.
$box = register_cuztom_meta_box( $id, $post_type, array(
'fields' => array(
array(
'id' => '_data_yesno',
'type' => 'yesno',
'label' => 'Field Label',
),
...
)
) );
Updated almost 8 years ago