W3cubDocs

/WordPress

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

$css = apply_filters( 'wp_get_custom_css', $css, $stylesheet );

Changelog

Version Description
4.7.0 Introduced.

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