WPDev.one
Core Function
View Source on Trac ↗

delete_user_setting()

delete_user_setting( mixed $names )

Deletes user interface settings.

Parameters 1 required

Name / Type Description
$names
string

The name or array of names of the setting to be deleted.

Required

Return Value

((bool)
(bool | null) True if deleted successfully, false otherwise. Null if the current user is not a member of the site.

Function Information

Since Version
2.7.0
Source File
wp-includes/option.php
Advertisement