customize_controls_print_scripts
Action HookDescription
Fires when Customizer control scripts are printed.Hook Information
File Location |
wp-admin/customize.php
View on GitHub
|
Hook Type | Action |
Line Number | 178 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into customize_controls_print_scripts
add_action('customize_controls_print_scripts', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-admin/customize.php:178
- How this hook is used in WordPress core
<?php
173 /**
174 * Fires when Customizer control scripts are printed.
175 *
176 * @since 3.4.0
177 */
178 do_action( 'customize_controls_print_scripts' );
179
180 /**
181 * Fires in head section of Customizer controls.
182 *
183 * @since 5.5.0
PHP Documentation
<?php
/**
* Fires when Customizer control scripts are printed.
*
* @since 3.4.0
*/
Quick Info
- Hook Type: Action
- Parameters: 0
- File: wp-admin/customize.php
Related Hooks
Related hooks will be displayed here in future updates.