mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
Inline documentation for hooks in wp-includes/functions.wp-scripts.php.
Props ninio for the initial patch. Fixes #25720. git-svn-id: https://develop.svn.wordpress.org/trunk@25949 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -25,6 +25,11 @@
|
||||
* @return array On success, a processed array of WP_Dependencies items; otherwise, an empty array.
|
||||
*/
|
||||
function wp_print_scripts( $handles = false ) {
|
||||
/**
|
||||
* Fires before scripts in the $handles queue are printed.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*/
|
||||
do_action( 'wp_print_scripts' );
|
||||
if ( '' === $handles ) // for wp_head
|
||||
$handles = false;
|
||||
|
||||
Reference in New Issue
Block a user