WPDev.one
Core Class

WP_Style_Engine_Processor

class WP_Style_Engine_Processor // Constructor: function Object() { [native code] }

Core class used to compile styles from stores or collection of CSS rules.

Methods 4 methods

Method / Return Description
add_store()
WP_Style_Engine_Processor

Adds a store to the processor.

Parameters: $store: mixed
add_rules()
WP_Style_Engine_Processor

Adds rules to be processed.

Parameters: $css_rules: mixed
get_css()
string

Gets the CSS rules as a string.

Parameters: $options: mixed
combine_rules_selectors()
void

Combines selectors from the rules store when they have the same styles.

Properties

Property / Type Description
$stores
mixed
public
No description available.
$css_rules
mixed
public
No description available.

Class Information

Since Version
6.1.0
Source File
wp-includes/style-engine/class-wp-style-engine-processor.php
Advertisement