wp_style_engine_get_stylesheet_from_context
wp_style_engine_get_stylesheet_from_context ( $context, $options = array() )
Parameters:- (string) context A valid context name, corresponding to an existing store key.
- (array) options { Optional. An array of options. Default empty array. @type bool $optimize Whether to optimize the CSS output, e.g. combine rules. Default false. @type bool $prettify Whether to add new lines and indents to output. Defaults to whether the `SCRIPT_DEBUG` constant is defined. }
Returns:- (string) A compiled CSS string.
Defined at: - Introduced in WordPress: 6.1.0
- Deprecated in WordPress: —
Description
Returns compiled CSS from a store, if found.