customize_controls_print_styles WordPress Action Hook
The customize_controls_print_styles hook allows you to add custom CSS to the WordPress Customizer. This is useful if you want to add custom styles to the Customizer controls, or if you need to override some default styles.
do_action( 'customize_controls_print_styles' ) #
Fires when Customizer control styles are printed.
Contents
More Information
The customize_controls_print_styles
action hook is triggered within the section of the theme customizer screen.
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.
Source
File: wp-admin/customize.php
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |