delete_site_option() – Removes a option by name for the current network.

You appear to be a bot. Output may be restricted

Description

Removes a option by name for the current network.

Usage

$bool = delete_site_option( $option );

Parameters

$option
( string ) required – Name of the option to delete. Expected to not be SQL-escaped.

Returns

bool True if the option was deleted, false otherwise.

Source

File name: wordpress/wp-includes/option.php
Lines:

1 to 3 of 3
function delete_site_option( $option ) {
  return delete_network_option( null, $option );
}
 

 View on GitHub View on Trac