PHP Class Kirki_Enqueue, kirki

Afficher le fichier Open project: aristath/kirki

Méthodes publiques

Méthode 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 méthode

Adds actions to enqueue our assets.
public __construct ( )

branding() public méthode

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

customize_controls_enqueue_scripts() public méthode

Assets that have to be enqueued in 'customize_controls_enqueue_scripts'.

customize_controls_l10n() public méthode

L10n helper for controls.

postmessage() public méthode

The rest is handled via JS.
public postmessage ( )