get_site_option
get_site_option ( $option, $default_value = false, $deprecated = true )
Parameters:- (string) option Name of the option to retrieve. Expected to not be SQL-escaped.
- (mixed) default_value Optional. Value to return if the option doesn't exist. Default false.
- (bool) deprecated Whether to use cache. Multisite only. Always set to true.
See:Returns:- (mixed) Value set for the option.
Defined at:Change Log: - Introduced in WordPress: 2.8.0
- Deprecated in WordPress: —
Description
Retrieve an option value for the current network based on name of option.