get_network_option
get_network_option ( $network_id, $option, $default = false )
Parameters:- (int) $network_id ID of the network. Can be null to default to the current network ID.
- (string) $option Name of option to retrieve. Expected to not be SQL-escaped.
- (mixed) $default Optional. Value to return if the option doesn't exist. Default false.
See:Returns:- (mixed) Value set for the option.
Defined at: - Introduced in WordPress: 4.4.0
- Deprecated in WordPress: —
Description
Retrieve a network's option value based on the option name.