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

Props admiralthrawn.
Fixes #25722.

Built from https://develop.svn.wordpress.org/trunk@25950


git-svn-id: http://core.svn.wordpress.org/trunk@25909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2013-10-27 17:59:09 +00:00
parent d3fbb93eb1
commit 02d3a290ec

View File

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