WP_Styles::reset() WordPress Method
The WP_Styles::reset() method is used to reset all registered styles. This is typically done after a theme has been switched.
WP_Styles::reset() #
Resets class properties.
Source
File: wp-includes/class.wp-styles.php
public function reset() { $this->do_concat = false; $this->concat = ''; $this->concat_version = ''; $this->print_html = ''; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |