PHP Class Kirki_Enqueue, kirki

Mostrar archivo Open project: aristath/kirki

Public Methods

Method Description
__construct ( ) The class constructor.
branding ( ) Enqueues the script responsible for branding the customizer and also adds variables to it using the wp_localize_script function.
customize_controls_enqueue_scripts ( ) Assets that have to be enqueued in 'customize_controls_enqueue_scripts'.
customize_controls_l10n ( ) L10n helper for controls.
postmessage ( ) Enqueues the postMessage script and adds variables to it using the wp_localize_script function.

Method Details

__construct() public method

Adds actions to enqueue our assets.
public __construct ( )

branding() public method

The actual branding is handled via JS.
public branding ( )

customize_controls_enqueue_scripts() public method

Assets that have to be enqueued in 'customize_controls_enqueue_scripts'.

customize_controls_l10n() public method

L10n helper for controls.

postmessage() public method

The rest is handled via JS.
public postmessage ( )