File: wp-includes/global-styles-and-settings.php
-
Returns the metadata for the template parts defined by the theme.
-
Returns the metadata for the custom templates defined by the theme via theme.json.
-
Gets the block name from a given theme.json path.
-
Returns the current theme’s wanted patterns (slugs) to be registered from Pattern Directory.
-
functionwp_get_block_css_selector()
Determines the CSS selector for the block type and property provided, returning it if available.
-
functionwp_theme_has_theme_json()
Checks whether a theme or its parent has a theme.json file.
-
functionwp_clean_theme_json_cache()
Cleans the caches under the theme_json group.
-
Adds global style rules to the inline style for each block.
-
functionwp_get_global_settings()
Gets the settings resulting of merging core, theme, and user data.
-
functionwp_get_global_styles()
Gets the styles resulting of merging core, theme, and user data.
-
functionwp_get_global_stylesheet()
Returns the stylesheet resulting of merging core, theme, and user data.