do_action( 'wp_print_styles' )

Fires before styles in the $handles queue are printed.


Description Description


Source Source

File: wp-includes/functions.wp-styles.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

  1. Skip to note 1 content

    From the old Codex pages:

    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.

You must log in before being able to contribute a note or feedback.