delete_site_option( string $option )
Removes a option by name for the current network.
Description
See also
Parameters
- $option
-
(Required) Name of option to remove. Expected to not be SQL-escaped.
Return
(bool) True, if succeed. False, if failure.
Source
File: wp-includes/option.php
function delete_site_option( $option ) {
return delete_network_option( null, $option );
}
Changelog
Version | Description |
---|---|
WP-4.4.0 | Modified into wrapper for delete_network_option() |
WP-2.8.0 | Introduced. |