A WordPress-centric search engine for devs and theme authors



delete_site_option ›

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 a option by name for the current network.



Source

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