apply_filters( 'wp_get_custom_css', string $css, string $stylesheet )

Filters the Custom CSS Output into the .

Parameters

$css

(string) CSS pulled in from the Custom CSS CPT.

$stylesheet

(string) The theme stylesheet name.

Source

File: wp-includes/theme.php

View on Trac

Changelog

Version Description
4.7.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_get_custom_css