Core Function
View Source on Trac ↗ wp_style_engine_get_stylesheet_from_context()
wp_style_engine_get_stylesheet_from_context( mixed $context, mixed $options = array() ) Returns compiled CSS from a store, if found.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $context string | A valid context name, corresponding to an existing store key. Required |
| array | $options { Optional. An array of options. Default empty array. Required |
Return Value
(string)
A compiled CSS string.
Function Information
Since Version
6.1.0
Source File
wp-includes/style-engine.php
Advertisement