Allows plugins to queue scripts for the front end using wp_enqueue_script().Runs first in wp_head() where all is_home(), is_page(), etc. functions are available.
Hooks fired · 1
One hook fires while wp_enqueue_scripts() runs, in this order:
2305functionwp_enqueue_scripts(){2306/**2307 * Fires when scripts and styles are enqueued.2308 *2309 * @since 2.8.02310 */2311do_action('wp_enqueue_scripts');2312}
History
Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 6.9.7 tag, from src/wp-includes/script-loader.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.