Uses
Uses | Description |
---|---|
wp-includes/option.php: delete_network_option() | Removes a network option by name. |
Removes a option by name for the current network.
(string) (Required) Name of the option to delete. Expected to not be SQL-escaped.
(bool) True if the option was deleted, false otherwise.
File: wp-includes/option.php
function delete_site_option( $option ) { return delete_network_option( null, $option ); }
Version | Description |
---|---|
4.4.0 | Modified into wrapper for delete_network_option() |
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/delete_site_option