WP_Style_Engine_CSS_Rules_Store::get_all_rules()publicWP 6.1.0

Gets an array of all rules.

Method of the class: WP_Style_Engine_CSS_Rules_Store{}

No Hooks.

Return

WP_Style_Engine_CSS_Rule[].

Usage

$WP_Style_Engine_CSS_Rules_Store = new WP_Style_Engine_CSS_Rules_Store();
$WP_Style_Engine_CSS_Rules_Store->get_all_rules();

Changelog

Since 6.1.0 Introduced.

WP_Style_Engine_CSS_Rules_Store::get_all_rules() code WP 6.5.4

public function get_all_rules() {
	return $this->rules;
}