WP_Scripts::reset()publicWP 2.8.0

Resets class properties.

Method of the class: WP_Scripts{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Changelog

Since 2.8.0 Introduced.

WP_Scripts::reset() code WP 6.5.2

public function reset() {
	$this->do_concat      = false;
	$this->print_code     = '';
	$this->concat         = '';
	$this->concat_version = '';
	$this->print_html     = '';
	$this->ext_version    = '';
	$this->ext_handles    = '';
}