wp_print_styles WordPress Action Hook
The wp_print_styles hook is used to enqueue or register stylesheets on your WordPress site. This hook is called during the wp_enqueue_scripts action.
do_action( 'wp_print_styles' ) #
Fires before styles in the $handles queue are printed.
More Information
Since WordPress 3.3, wp_print_styles should not be used to enqueue styles or scripts.
See: https://make.wordpress.org/core/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/
Use wp_enqueue_scripts instead.
Source
Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |