WordPress at a glance
function is not described

WP_Scripts::reset() public WP 2.8.0

Resets class properties.

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

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 2.8.0 Introduced.

Code of WP_Scripts::reset() WP 5.7.2

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