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:
parent
1c127e99bd
commit
1c625a49ac
@ -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' );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user