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     = '';
	}


Top ↑

Changelog

Changelog
VersionDescription
3.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.