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:
Drew Jaynes
2013-10-27 17:50:38 +00:00
parent b2e15261ba
commit 1c127e99bd
2 changed files with 14 additions and 4 deletions

View File

@@ -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;