wp_get_custom_css

wp_get_custom_css

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_get_custom_css') is found 1 times:

  • /wp-includes/theme.php line 2050
    	 *
    	 * @param string $css        CSS pulled in from the Custom CSS post type.
    	 * @param string $stylesheet The theme stylesheet name.
    	 */
    	$css = apply_filters( 'wp_get_custom_css', $css, $stylesheet );
    
    	return $css;
    }
    
    /**
     * Updates the `custom_css` post for a given theme.
    

See this hook used in plugins: