PHP 클래스 Kirki_Enqueue, kirki

파일 보기 프로젝트 열기: aristath/kirki

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

Adds actions to enqueue our assets.
public __construct ( )

branding() 공개 메소드

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

customize_controls_enqueue_scripts() 공개 메소드

Assets that have to be enqueued in 'customize_controls_enqueue_scripts'.

customize_controls_l10n() 공개 메소드

L10n helper for controls.

postmessage() 공개 메소드

The rest is handled via JS.
public postmessage ( )