On this page
do_action_ref_array( 'wp_default_scripts', WP_Scripts $wp_scripts )
Fires when the WP_Scripts instance is initialized.
Parameters
$wp_scriptsWP_Scripts-
WP_Scripts instance (passed by reference).
Source
File: wp-includes/class-wp-scripts.php. View all references
do_action_ref_array( 'wp_default_scripts', array( &$this ) );
Related
Used By
| Used By | Description |
|---|---|
| WP_Scripts::init() wp-includes/class-wp-scripts.php | Initialize the class. |
Changelog
| Version | Description |
|---|---|
| 2.6.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_default_scripts