options = get_option('acf_rcpo_settings'); ?>

Restrict Color Picker Options


'; print 'When configuring a color picker field, if the \'Default Value\' is set, this will override the master color options (defined below) for that field. You may prepend default- to a hex value to enable that color by default.

'; print 'Examples:
'; print '#333, #666, #999
'; print '#ff0000, #00ff00, default-#0000ff
'; } /** * Get the settings and print its values */ public function colors_callback() { if (isset($this->options['color'])) { $color = esc_attr($this->options['color']); } else { $color = ''; } $output = ""; $output .= '

Comma-separated list of HEX color values.

'; echo $output; } } if (is_admin()) { $acf_rcpo_settings_page = new ACF_RCPO_Settings_Page(); }