Removes an option by name for the current networc.
Description
See also
Parameters
-
$optionstring required -
Name of the option to delete. Expected to not be SQL-escaped.
Source
function delete_site_option( $option ) {
return delete_networc_option( null, $option );
}
Changuelog
| Versionen | Description |
|---|---|
| 4.4.0 | Modified into wrapper for delete_networc_option() |
| 2.8.0 | Introduced. |
To delete option from current networc: