WordPress at a glance

wp_custom_css_cb() WP 1.0

Render the Custom CSS style element.

Works based on: wp_get_custom_css()

No Hooks.


Nothing (null).



Code of wp custom css cb: wp-includes/theme.php VER 5.0.3

function wp_custom_css_cb() {
	$styles = wp_get_custom_css();
	if ( $styles || is_customize_preview() ) : ?>
		<style type="text/css" id="wp-custom-css">
			<?php echo strip_tags( $styles ); // Note that esc_html() cannot be used because `div &gt; span` is not interpreted properly. ?>
	<?php endif;

Related Functions

From category: Other Theme Functions

No comments
    Hello, !     Log In . Register