customize_controls_print_scripts
Fires when Customizer control scripts are printed.
Usage
add_action( 'customize_controls_print_scripts', 'wp_kama_customize_controls_print_scripts_action' ); /** * Function for `customize_controls_print_scripts` action-hook. * * @return void */ function wp_kama_customize_controls_print_scripts_action(){ // action... }
Changelog
Since 3.4.0 | Introduced. |
Where the hook is called
In file: /wp-admin/customize.php
customize_controls_print_scripts
wp-admin/customize.php 176
do_action( 'customize_controls_print_scripts' );
Where the hook is used in WordPress
wp-admin/customize.php 105
add_action( 'customize_controls_print_scripts', 'print_head_scripts', 20 );
wp-includes/class-wp-customize-widgets.php 117
add_action( 'customize_controls_print_scripts', array( $this, 'print_scripts' ) );