wp_style_engine_get_styles()Global 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.
Signature, return type and hooks compared across 5 parsed releases.
7.1.0
Parameter $css_declarations retyped from string[] to string[]|WP_Style_Engine_CSS_Declarations.verified against source
6.6.0
Added the $rules_group parameter.from the docblock
6.1.0
Introduced.from the docblock
About this page
Parsed data
Generated from the wordpress-develop 6.8.8 tag, from src/wp-includes/style-engine/class-wp-style-engine.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.