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:

Description

Retrieves a network's option value based on the option name.

Related Functions

delete_network_option, add_network_option, update_network_option, get_user_option, get_network

Top Google Results

User discussions

wpseek mobile