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 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) False if option was not added and true if option was added.
Defined at:

Description

Add a new network option.

Existing options will not be updated.

Related Functions

get_network_option, delete_network_option, update_network_option, add_site_option, add_blog_option

Top Google Results

User discussions

wpseek mobile