delete_user_setting
delete_user_setting ( $names )
Parameters:- (string) names The name or array of names of the setting to be deleted.
Returns:- (bool|null) True if deleted successfully, false otherwise. Null if the current user is not a member of the site.
Defined at: - Introduced in WordPress: 2.7.0
- Deprecated in WordPress: —
Description
Deletes user interface settings.Deleting settings would reset them to the defaults.
This function has to be used before any output has started as it calls `setcookie()`.