delete_option
delete_option ( $option )
Parameters:- (string) option Name of the option to delete. Expected to not be SQL-escaped.
Returns:- (bool) True if the option was deleted, false otherwise.
Defined at: - Introduced in WordPress: 1.2.0
- Deprecated in WordPress: —
Description
Removes an option by name. Prevents removal of protected WordPress options.