Fires when Customizer control scripts are printed.
Source
do_action( 'customize_controls_print_scripts' );
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
CARVIEW |
Fires when Customizer control scripts are printed.
The customize_controls_print_scripts
action hook is triggered within the section of the theme customizer screen. By default, the function print_head_scripts() is added to this action with a priority of 20.
This hook functions similarly to the wp_head action hook, but only affects the theme customizer screen. Generally, when using the Theme Customization API, you are better off hooking into wp_head
instead.
do_action( 'customize_controls_print_scripts' );
Version | Description |
---|---|
3.4.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
If you want it in the footer you can use:
customize_controls_print_footer_scripts