Summery Summery
Removes a option by name for the current network.
Syntax Syntax
Parameters Parameters
- $option
-
(Required) Name of option to remove. Expected to not be SQL-escaped.
Return Return
(bool) True, if succeed. False, if failure.
Source Source
File: wp-includes/option.php
$user_id = get_current_user_id(); if ( ! $user_id ) {
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Modified into wrapper for delete_network_option() |
2.8.0 | Introduced. |