wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/global-styles-and-settings.php › WordPress File
Functions11
› APIs to interact with global settings & styles.
Function | Short description |
---|---|
wp_add_global_styles_for_blocks | Adds global style rules to the inline style for each block. |
wp_clean_theme_json_cache | Cleans the caches under the theme_json group. |
wp_get_block_css_selector | Determines the CSS selector for the block type and property provided, returning it if available. |
wp_get_block_name_from_theme_json_path | Gets the block name from a given theme.json path. |
wp_get_global_settings | Gets the settings resulting of merging core, theme, and user data. |
wp_get_global_styles | Gets the styles resulting of merging core, theme, and user data. |
wp_get_global_stylesheet | Returns the stylesheet resulting of merging core, theme, and user data. |
wp_get_theme_data_custom_templates | Returns the metadata for the custom templates defined by the theme via theme.json. |
wp_get_theme_data_template_parts | Returns the metadata for the template parts defined by the theme. |
wp_get_theme_directory_pattern_slugs | Returns the current theme's wanted patterns (slugs) to be registered from Pattern Directory. |
wp_theme_has_theme_json | Checks whether a theme or its parent has a theme.json file. |