get_network_option
get_network_option ( $network_id, $option, $default_value = false )
Parameters:- (int) network_id ID of the network. Can be null to default to the current network ID.
- (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.
See:Returns:- (mixed) Value set for the option.
Defined at: - Introduced in WordPress: 4.4.0
- Deprecated in WordPress: —
Description
Retrieves a network's option value based on the option name.