mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Docs: Correct the documentation placement for wp_print_styles and shortcode_atts_{$shortcode} hooks.
Props jrf. See #48255. git-svn-id: https://develop.svn.wordpress.org/trunk@46688 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -43,12 +43,13 @@ 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 ) {
|
||||
/**
|
||||
* Fires before styles in the $handles queue are printed.
|
||||
*
|
||||
* @since 2.6.0
|
||||
*/
|
||||
do_action( 'wp_print_styles' );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user