[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/style-engine/ -> class-wp-style-engine-processor.php (summary)

Style Engine: WP_Style_Engine_Processor class

File Size: 181 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_Style_Engine_Processor:: (4 methods):
  add_store()
  add_rules()
  get_css()
  combine_rules_selectors()


Class: WP_Style_Engine_Processor  - X-Ref

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

add_store( $store )   X-Ref
Adds a store to the processor.

param: WP_Style_Engine_CSS_Rules_Store $store The store to add.
return: WP_Style_Engine_Processor Returns the object to allow chaining methods.

add_rules( $css_rules )   X-Ref
Adds rules to be processed.

param: WP_Style_Engine_CSS_Rule|WP_Style_Engine_CSS_Rule[] $css_rules A single, or an array of,
return: WP_Style_Engine_Processor Returns the object to allow chaining methods.

get_css( $options = array()   X-Ref
Gets the CSS rules as a string.

param: array $options   {
return: string The computed CSS.

combine_rules_selectors()   X-Ref
Combines selectors from the rules store when they have the same styles.




Generated : Fri May 10 08:20:01 2024 Cross-referenced by PHPXref