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:

Description

Retrieve 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