WordPress at a glance
filter is not described

wp_get_custom_css filter-hook . WP 4.7.0

Filters the Custom CSS Output into the <head>.


add_filter( 'wp_get_custom_css', 'filter_function_name_4158', 10, 2 );
function filter_function_name_4158( $css, $stylesheet ){
	// filter...

	return $css;
CSS pulled in from the Custom CSS CPT.
The theme stylesheet name.

Where the hook is called

wp-includes/theme.php 1789
$css = apply_filters( 'wp_get_custom_css', $css, $stylesheet );

Where the hook is used (in WP core)

wp-includes/customize/class-wp-customize-custom-css-setting.php 88
add_filter( 'wp_get_custom_css', array( $this, 'filter_previewed_wp_get_custom_css' ), 9, 2 );