colorpicker Field

'type' => 'colorpicker'

Create a WordPress colorpicker field.

You can use Piklist field parameters to customize this field.

piklist('field', array(
    'type' => 'colorpicker',
    'field' => 'my_color',
    'label' => 'Color Picker'
  ));

Have ideas for improving the documentation?

This documentation is a community effort. Please create an issue or pull request to help!

Improve this page