Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

delete_user_setting()

3 tags 1 category

delete_user_setting() — 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().

Inputs: $names (string): 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.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…