get_settings()
get_settings( string $option )
基于选项获取值。
Get value based on option.
说明(Description)
另见函数 get_option()
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$option | (string) | 必需 |
返回(Return)
(string)
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.1.0 | wp-includes/deprecated.php:829 | 0 | 2 |
get_settings() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_settings/