customize_controls_enqueue_scripts хук-событиеWP 3.4.0

Enqueue Customizer control scripts.

Использование

add_action( 'customize_controls_enqueue_scripts', 'wp_kama_customize_controls_enqueue_scripts_action' );

/**
 * Function for `customize_controls_enqueue_scripts` action-hook.
 * 
 * @return void
 */
function wp_kama_customize_controls_enqueue_scripts_action(){

	// action...
}

Список изменений

С версии 3.4.0 Введена.

Где вызывается хук

В файле: /wp-admin/customize.php
customize_controls_enqueue_scripts
wp-admin/customize.php 123
do_action( 'customize_controls_enqueue_scripts' );

Где используется хук в WordPress

wp-includes/class-wp-customize-manager.php 390
add_action( 'customize_controls_enqueue_scripts', array( $this, 'enqueue_control_scripts' ) );
wp-includes/class-wp-customize-nav-menus.php 64
add_action( 'customize_controls_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
wp-includes/class-wp-customize-widgets.php 115
add_action( 'customize_controls_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
wp-includes/default-filters.php 614
add_action( 'customize_controls_enqueue_scripts', 'wp_plupload_default_settings' );