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.2

apply_filters('wp_get_custom_css') is found 1 times:

  • /wp-includes/theme.php line 2050
    2046
    2047
    2048
    2049
    2050
    2051
    2052
    2053
    2054
    2055
    2056
         *
         * @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: