wordpress / latest / hooks / wp_default_scripts.html

do_action_ref_array( 'wp_default_scripts', WP_Scripts $wp_scripts )

Fires when the WP_Scripts instance is initialized.

Parameters

$wp_scripts WP_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 ) );

Used By

Used By Description

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