wp_get_custom_css WordPress Filter Hook
The wp_get_custom_css hook allows you to retrieve custom CSS code from a specified Wordpress theme. This is useful if you want to add custom CSS code to your site without having to edit the theme files directly.
apply_filters( 'wp_get_custom_css',  string $css ,  string $stylesheet  ) #
Filters the custom CSS output into the head element.
Parameters
- $css
 (string)CSS pulled in from the Custom CSS post type.
- $stylesheet
 (string)The theme stylesheet name.
Source
File: wp-includes/theme.php
Changelog
| Version | Description | 
|---|---|
| 4.7.0 | Introduced. |