Color
See Text field for complete documentation.
$box = register_cuztom_meta_box( $id, $post_type, array(
'fields' => array(
array(
'id' => '_data_color',
'type' => 'color',
'label' => 'Field Label',
),
...
)
) );
Updated over 7 years ago