wp_print_styles
Fires before styles in the $handles queue are printed.
Usage
add_action( 'wp_print_styles', 'wp_kama_print_styles_action' ); /** * Function for `wp_print_styles` action-hook. * * @return void */ function wp_kama_print_styles_action(){ // action... }
Changelog
Since 2.6.0 | Introduced. |
Where the hook is called
wp_print_styles
wp-includes/functions.wp-styles.php 57
do_action( 'wp_print_styles' );
Where the hook is used in WordPress
wp-includes/class-wp-customize-widgets.php 1172
add_action( 'wp_print_styles', array( $this, 'print_preview_css' ), 1 );
wp-includes/default-filters.php 353
add_action( 'wp_print_styles', 'print_emoji_styles' );