WP_Scripts::reset() – Method | Developer.WordPress.org
Resets class properties.
Source
public function reset() {
$this->do_concat = false;
$this->print_code = '';
$this->concat = '';
$this->concat_version = '';
$this->print_html = '';
$this->ext_version = '';
$this->ext_handles = '';
}
| Used by | Description |
|---|---|
WP_Scripts::do_item()wp-includes/class-wp-scripts.php | Processes a script dependency. |
print_head_scripts()wp-includes/script-loader.php | Prints the script queue in the HTML head on admin pages. |
print_footer_scripts()wp-includes/script-loader.php | Prints the scripts that were queued for the footer or too late for the HTML head. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |