wp_enqueue_global_styles_css_custom_properties() – Function that enqueues the CSS Custom Properties coming from theme.json.

You appear to be a bot. Output may be restricted

Description

Function that enqueues the CSS Custom Properties coming from theme.json.

Usage

wp_enqueue_global_styles_css_custom_properties();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/script-loader.php
Lines:

1 to 5 of 5
function wp_enqueue_global_styles_css_custom_properties() {
  wp_register_style( 'global-styles-css-custom-properties', false, array(), true, true );
  wp_add_inline_style( 'global-styles-css-custom-properties', wp_get_global_stylesheet( array( 'variables' ) ) );
  wp_enqueue_style( 'global-styles-css-custom-properties' );
}
 

 View on GitHub View on Trac