Core Class
View Source on Trac ↗
Core Class
WP_Customize_Color_Control
class WP_Customize_Color_Control
// Constructor: function Object() { [native code] } Customize Color Control class.
Methods 5 methods
| Method / Return | Description |
|---|---|
| __construct() void | Constructor.
Parameters: $manager: mixed, $id: mixed, $args: mixed |
| enqueue() void | Enqueue scripts/styles for the color picker. |
| to_json() void | Refresh the parameters passed to the JavaScript via JSON. |
| render_content() void | Don't render the control content from PHP, as it's rendered via JS on load. |
| content_template() void | Render a JS template for the content of the color picker control. |
Properties
| Property / Type | Description |
|---|---|
| $type mixed public | No description available. |
| $statuses mixed public | No description available. |
| $mode mixed public | No description available. |
Class Information
Since Version
3.4.0
Source File
wp-includes/customize/class-wp-customize-color-control.php
Advertisement