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:

Description

Returns compiled CSS from a store, if found.

Related Functions

wp_style_engine_get_stylesheet_from_css_rules, wp_style_engine_get_styles, _preview_theme_stylesheet_filter, translate_with_gettext_context, get_stylesheet_directory

Top Google Results

User discussions

wpseek mobile