[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

APIs to interact with global settings & styles.

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

Defines 4 functions

  wp_get_global_settings()
  wp_get_global_styles()
  wp_get_global_stylesheet()
  wp_get_global_styles_svg_filters()

Functions
Functions that are not part of a class:

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

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

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

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

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

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

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

return: string
since: 5.9.1



Generated: Tue Jun 25 01:00:07 2024 Cross-referenced by PHPXref 0.7.1