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:Defined at:Change Log: - Introduced in WordPress: 5.9.0
- Deprecated in WordPress: —
Description
Returns the stylesheet resulting of merging core, theme, and user data.