| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
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 |
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 : Sat Apr 18 08:20:10 2026 | Cross-referenced by PHPXref |