Метод |
Описание |
|
__construct ( ) |
The class constructor. |
|
add_fields ( ) : void |
Create the settings and controls from the $fields array and register them. |
|
add_panels ( ) |
Register our panels to the WordPress Customizer. |
|
add_sections ( ) : void |
Register our sections to the WordPress Customizer. |
|
add_to_customizer ( ) : void |
Helper function that adds the fields, sections and panels to the customizer. |
|
fields_from_filters ( ) |
Process fields added using the 'kirki/fields' and 'kirki/controls' filter. |
|
get_variables ( ) : array |
Build the variables. |
|
register_control_types ( ) : void |
Register control types |
|
set_url ( ) |
Properly set the Kirki URL for assets. |
|
update_user_meta ( string $value, object $wp_customize_setting ) |
Handle saving of settings with "user_meta" storage type. |
|