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 if not. Null if the current user can't be established.
Defined at:

Description

Delete 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().

Related Functions

delete_all_user_settings, get_user_setting, set_user_setting, delete_user_option, delete_user_meta

Top Google Results

User discussions

wpseek mobile