Свойство | Тип | Описание | |
---|---|---|---|
$mode | string | Mode. | |
$statuses | array | Statuses. | |
$type | string | Type. |
Метод | Описание | |
---|---|---|
__construct ( WP_Customize_Manager $manager, string $id, array $args = [] ) | Constructor. | |
content_template ( ) | Render a JS template for the content of the color picker control. | |
enqueue ( ) | Enqueue scripts/styles for the color picker. | |
render_content ( ) | Don't render the control content from PHP, as it's rendered via JS on load. | |
to_json ( ) | Refresh the parameters passed to the JavaScript via JSON. |
public __construct ( WP_Customize_Manager $manager, string $id, array $args = [] ) | ||
$manager | WP_Customize_Manager | Customizer bootstrap instance. |
$id | string | Control ID. |
$args | array | Optional. Arguments to override class property defaults. |
public content_template ( ) |
public render_content ( ) |
public to_json ( ) |