Core Function
View Source on Trac ↗ wp_get_global_styles()
wp_get_global_styles( mixed $path = array(), mixed $context = array() ) Gets the styles resulting of merging core, theme, and user data.
Parameters 2 required
| Name / Type | Description |
|---|---|
| array | $path Path to the specific style to retrieve. Optional. If empty, will return all styles. Required |
| array | $context { Metadata to know where to retrieve the $path from. Optional. Required |
Return Value
(mixed)
The styles array or individual style value to retrieve.
Function Information
Since Version
5.9.0
Source File
wp-includes/global-styles-and-settings.php
Advertisement