wp_get_global_stylesheet


wp_get_global_stylesheet ( $types = array() )

Parameters:
  • (array) types Types of styles to load. Optional. It accepts 'variables', 'styles', 'presets' as values. If empty, it'll load all for themes with theme.json support and only [ 'variables', 'presets' ] for themes without theme.json support.
Returns:
  • (string) Stylesheet.
Defined at:

Description

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

Related Functions

wp_get_global_styles, get_locale_stylesheet_uri, wp_enqueue_global_styles, get_stylesheet, wp_get_global_settings

Top Google Results

User discussions

wpseek mobile