WP_Style_Engine
Methods
1 to 10 of 10
- WP_Style_Engine::compile_css() – Returns compiled CSS from css_declarations.
- WP_Style_Engine::compile_stylesheet_from_css_rules() – Returns a compiled stylesheet from stored CSS rules.
- WP_Style_Engine::get_classnames() – Returns classnames, and generates classname(s) from a CSS preset property pattern, e.g., ‘`var:preset|<PRESET_TYPE>|<PRESET_SLUG>`’.
- WP_Style_Engine::get_css_declarations() – Returns an array of CSS declarations based on valid block style values.
- WP_Style_Engine::get_css_var_value() – Util: Generates a CSS var string, e.g., var(–wp–preset–color–background) from a preset string such as `var:preset|space|50`.
- WP_Style_Engine::get_individual_property_css_declarations() – Style value parser that returns a CSS definition array comprising style properties that have keys representing individual style properties, otherwise known as longhand CSS properties.
- WP_Style_Engine::get_store() – Returns a store by store key.
- WP_Style_Engine::is_valid_style_value() – Util: Checks whether an incoming block style value is valid.
- WP_Style_Engine::parse_block_styles() – Returns classnames and CSS based on the values in a styles object.
- WP_Style_Engine::store_css_rule() – Stores a CSS rule using the provided CSS selector and CSS declarations.