WP_Scripts::init()

Initialize the class.


Source

File: wp-includes/class-wp-scripts.php. View all references

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 ) );
}

Top ↑

Hooks



Top ↑

Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.