wpseek.com
A WordPress-centric search engine for devs and theme authors



delete_site_option › WordPress Function

Since2.8.0
Deprecatedn/a
delete_site_option ( $option )
Parameters:
  • (string) $option Name of the option to delete. Expected to not be SQL-escaped.
    Required: Yes
See:
Returns:
  • (bool) True if the option was deleted, false otherwise.
Defined at:
Codex:
Change Log:
  • 4.4.0

Removes an option by name for the current network.



Source

function delete_site_option( $option ) {
	return delete_network_option( null, $option );
}