wpseek.com
A WordPress-centric search engine for devs and theme authors



wp-includes/global-styles-and-settings.php › WordPress File

Functions8
APIs to interact with global settings & styles.


Function Short description
wp_add_global_styles_for_blocksAdds global style rules to the inline style for each block.
wp_clean_theme_json_cacheCleans the caches under the theme_json group.
wp_get_global_settingsGets the settings resulting of merging core, theme, and user data.
wp_get_global_stylesGets the styles resulting of merging core, theme, and user data.
wp_get_global_stylesheetReturns the stylesheet resulting of merging core, theme, and user data.
wp_get_global_styles_custom_cssGets the global styles custom CSS from theme.json.
wp_get_global_styles_svg_filtersReturns a string containing the SVGs to be referenced as filters (duotone).
wp_theme_has_theme_jsonChecks whether a theme or its parent has a theme.json file.