customize_controls_enqueue_scripts
Fires when enqueuing Customizer control scripts.
Usage
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... }
Changelog
Since 3.4.0 | Introduced. |
Where the hook is called
In file: /wp-admin/customize.php
customize_controls_enqueue_scripts
wp-admin/customize.php 127
do_action( 'customize_controls_enqueue_scripts' );
Where the hook is used in WordPress
wp-includes/class-wp-customize-manager.php 397
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 642
add_action( 'customize_controls_enqueue_scripts', 'wp_plupload_default_settings' );