[ 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.
param: array $path    Path to the specific setting to retrieve. Optional.
param: array $context {
since: 5.9.0

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.
param: array $path    Path to the specific style to retrieve. Optional.
param: array $context {
since: 5.9.0

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

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

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: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1