Skip to content

Colour Picker Field

Ajit Bohra edited this page Nov 13, 2016 · 2 revisions

A colour picker field

Color Picker

Args

Required Args

  • id (string) (required)
  • name (string) (required) Field display name. Used as field label.
  • type 'colorpicker' (string) (required)

Optional Generic Args

See Optional Generic Args

Example Usage

array( 
	'id'   => 'example-color-picker', 
	'name' => 'A color picker field', 
	'type' => 'colorpicker', 
),