add_network_option


add_network_option ( $network_id, $option, $value )

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 add. Expected to not be SQL-escaped.
  • (mixed) value Option value, can be anything. Expected to not be SQL-escaped.
See:
Returns:
  • (bool) True if the option was added, false otherwise.
Defined at:

Description

Adds a new network option.Existing options will not be updated.

Related Functions

get_network_option, delete_network_option, update_network_option, add_blog_option, add_site_option

Top Google Results

User discussions

wpseek mobile