A WordPress-centric search engine for devs and theme authors

wp-includes/style-engine.php › WordPress File

Style engine: Public functions

Function Short description
wp_style_engine_get_stylesGlobal public interface method to generate styles from a single style object, e.g. the value of a block's attributes.style object or the top level styles in theme.json.
wp_style_engine_get_stylesheet_from_contextReturns compiled CSS from a store, if found.
wp_style_engine_get_stylesheet_from_css_rulesReturns compiled CSS from a collection of selectors and declarations.