Core Function
View Source on Trac ↗ wp_set_all_user_settings()
wp_set_all_user_settings( mixed $user_settings ) Private. Sets all user interface settings.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $user_settings array | User settings. Required |
Return Value
((bool)
(bool | null) True if set successfully, false if the current user could not be found.
Null if the current user is not a member of the site.
Function Information
Since Version
2.8.0
Source File
wp-includes/option.php
Advertisement