Inline documentation for hooks in wp-includes/functions.wp-styles.php.

Props admiralthrawn.
Fixes #25722.


git-svn-id: https://develop.svn.wordpress.org/trunk@25950 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2013-10-27 17:58:32 +00:00
parent 1c127e99bd
commit 1c625a49ac

View File

@ -15,7 +15,6 @@
* passing an array with one string prints that style,
* and passing an array of strings prints those styles.
*
* @see do_action() Calls 'wp_print_styles' hook.
* @global WP_Styles $wp_styles The WP_Styles object for printing styles.
*
* @since 2.6.0
@ -26,7 +25,11 @@
function wp_print_styles( $handles = false ) {
if ( '' === $handles ) // for wp_head
$handles = false;
/**
* Fires before styles in the $handles queue are printed.
*
* @since 2.6.0
*/
if ( ! $handles )
do_action( 'wp_print_styles' );