W3cubDocs

/WordPress

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

do_action_ref_array( 'wp_default_scripts', array( &$this ) );

Changelog

Version Description
2.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_default_scripts