WP_Scripts::init()publicWP 3.4.0

Initialize the class.

Method of the class: WP_Scripts{}

Hooks from the method

Return

null. Nothing (null).

Usage

global $wp_scripts;
$wp_scripts->init();

Changelog

Since 3.4.0 Introduced.

WP_Scripts::init() code WP 6.4.3

public function init() {
	/**
	 * Fires when the WP_Scripts instance is initialized.
	 *
	 * @since 2.6.0
	 *
	 * @param WP_Scripts $wp_scripts WP_Scripts instance (passed by reference).
	 */
	do_action_ref_array( 'wp_default_scripts', array( &$this ) );
}