Core Function
View Source on Trac ↗ wp_get_custom_css()
wp_get_custom_css( mixed $stylesheet = '' ) Fetches the saved Custom CSS content for rendering.
Parameters 0 required
| Name / Type | Description |
|---|---|
| $stylesheet string | Optional. A theme object stylesheet name. Defaults to the active theme. |
Return Value
(string)
The Custom CSS Post content.
Function Information
Since Version
4.7.0
Source File
wp-includes/theme.php
Advertisement