W3cubDocs

/WordPress

do_action_ref_array( 'wp_default_scripts', WP_Scripts $this )

Fires when the WP_Scripts instance is initialized.

Parameters

$this

(WP_Scripts) WP_Scripts instance (passed by reference).

Source

File: wp-includes/class.wp-scripts.php

View on Trac

Changelog

Version Description
2.6.0 Introduced.

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