get_user_setting
get_user_setting ( $name, $default_value = false )
Parameters:- (string) name The name of the setting.
- (string|false) default_value Optional. Default value to return when $name is not set. Default false.
Returns:- (mixed) The last saved user setting or the default value/false if it doesn't exist.
Defined at: - Introduced in WordPress: 2.7.0
- Deprecated in WordPress: —
Description
Retrieves user interface setting value based on setting name.