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:
parent
d3fbb93eb1
commit
02d3a290ec
|
@ -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