On this page
apply_filters( 'wp_get_custom_css', string $css, string $stylesheet )
Filters the custom CSS output into the head element.
Parameters
$cssstring-
CSS pulled in from the Custom CSS post type.
$stylesheetstring-
The theme stylesheet name.
Source
File: wp-includes/theme.php. View all references
$css = apply_filters( 'wp_get_custom_css', $css, $stylesheet );
Related
Used By
| Used By | Description |
|---|---|
| wp_get_custom_css() wp-includes/theme.php | Fetches the saved Custom CSS content for rendering. |
Changelog
| Version | Description |
|---|---|
| 4.7.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_get_custom_css