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

Glossary Term

set_user_setting()

3 tags 1 category

set_user_setting() — Adds or updates user interface setting. Both $name and $value can contain only ASCII letters, numbers, hyphens, and underscores. This function has to be used before any output has started as it calls setcookie().

Inputs: $name (string): The name of the setting. $value (string): The value for the setting.

Returns bool|null: True if set 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…