wp_get_global_stylesheet


wp_get_global_stylesheet ( $types = array() )

Parameters:
  • (array) types Optional. Types of styles to load. It accepts as values 'variables', 'presets', 'styles', 'base-layout-styles'. If empty, it'll load the following: - for themes without theme.json: 'variables', 'presets', 'base-layout-styles'. - for themes with theme.json: 'variables', 'presets', 'styles'.
Returns:
  • (string) Stylesheet.
Defined at:
Change Log:
  • 6: .
  • 6: .

Description

Returns the stylesheet resulting of merging core, theme, and user data.

Related Functions

wp_get_global_styles, get_locale_stylesheet_uri, wp_get_global_styles_custom_css, wp_enqueue_global_styles, wp_get_global_styles_svg_filters

Top Google Results

User discussions

wpseek mobile