delete_network_option


delete_network_option ( $network_id, $option )

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 delete. Expected to not be SQL-escaped.
See:
Returns:
  • (bool) True if the option was deleted, false otherwise.
Defined at:

Description

Removes a network option by name.

Related Functions

get_network_option, update_network_option, add_network_option, delete_user_option, delete_site_option

Top Google Results

User discussions

wpseek mobile