Fires before scripts in the $handles queue are printed.
Source
do_action( 'wp_print_scripts' );
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
CARVIEW |
Fires before scripts in the $handles queue are printed.
Since WordPress 3.3, wp_print_scripts should not be used to enqueue styles or scripts.
See: https://make.wordpress.org/core/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/
Use wp_enqueue_scripts instead.
do_action( 'wp_print_scripts' );
Used by | Description |
---|---|
wp_print_scripts()wp-includes/functions.wp-scripts.php | Prints scripts in document head that are in the $handles queue. |
print_head_scripts()wp-includes/script-loader.php | Prints the script queue in the HTML head on admin pages. |
wp_print_head_scripts()wp-includes/script-loader.php | Prints the script queue in the HTML head on the front end. |
Version | Description |
---|---|
2.1.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Add inline script to the head section