首页 WordPress函数大全 get_user_setting()

get_user_setting()

2020-05-02 / 5045阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_user_setting( string $name, string $default = false )

Retrieves user interface setting value based>

Contents

  • Description
    • Parameters
    • Return
    • Source
    • Changelog
  • Related
    • Uses
    • Used By
  • User Contributed Notes

描述

参数

$name

(string)
(Required)
The name of the setting.

$default

(string)
(Optional)
default value to return when $name is not set.

Default value: false

返回

(mixed) the last saved user setting or the default value/false if it doesn't exist.

大家谈论
    我的见解