wp_get_global_settings


wp_get_global_settings ( $path = array(), $block_name = '', $origin = 'all' )

Parameters:
  • (array) path Path to the specific setting to retrieve. Optional. If empty, will return all settings.
  • (string) block_name Which block to retrieve the settings from. Optional If empty, it'll return the settings for the global context.
  • (string) origin Which origin to take data from. Optional. It can be 'all' (core, theme, and user) or 'base' (core and theme). If empty or unknown, 'all' is used.
Returns:
  • (array) The settings to retrieve.
Defined at:

Description

Function to get the settings resulting of merging core, theme, and user data.

Related Functions

wp_get_global_styles, wp_get_global_stylesheet, wp_set_all_user_settings, get_settings, get_all_user_settings

Top Google Results

User discussions

wpseek mobile