[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/ -> global-styles-and-settings.php (summary)

APIs to interact with global settings & styles.

File Size: 373 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions

  wp_get_global_settings()
  wp_get_global_styles()
  wp_get_global_stylesheet()
  wp_get_global_styles_svg_filters()
  wp_add_global_styles_for_blocks()
  wp_theme_has_theme_json()
  wp_clean_theme_json_cache()

Functions
Functions that are not part of a class:

wp_get_global_settings( $path = array()   X-Ref
Gets the settings resulting of merging core, theme, and user data.

param: array $path    Path to the specific setting to retrieve. Optional.
param: array $context {
return: array The settings to retrieve.

wp_get_global_styles( $path = array()   X-Ref
Gets the styles resulting of merging core, theme, and user data.

param: array $path    Path to the specific style to retrieve. Optional.
param: array $context {
return: array The styles to retrieve.

wp_get_global_stylesheet( $types = array()   X-Ref
Returns the stylesheet resulting of merging core, theme, and user data.

param: array $types Optional. Types of styles to load.
return: string Stylesheet.

wp_get_global_styles_svg_filters()   X-Ref
Returns a string containing the SVGs to be referenced as filters (duotone).

return: string

wp_add_global_styles_for_blocks()   X-Ref
Adds global style rules to the inline style for each block.


wp_theme_has_theme_json()   X-Ref
No description

wp_clean_theme_json_cache()   X-Ref
Cleans the caches under the theme_json group.




Generated : Mon Jan 30 08:20:01 2023 Cross-referenced by PHPXref