wordpress / latest / classes / wp_scripts / __construct.html

WP_Scripts::__construct()

Constructor.

Source

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

public function __construct() {
	$this->init();
	add_action( 'init', array( $this, 'init' ), 0 );
}

Uses

Uses Description

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/classes/wp_scripts/__construct