WordPress at a glance
function is not described

WP_Scripts::__construct() public WP 2.6.0

Constructor.

{} It's a method of the class: WP_Scripts{}

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 2.6.0 Introduced.

Code of WP_Scripts::__construct() WP 5.7.2

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