函数原型
get_bloginfo( string $show = ”, string $filter = ‘raw’ ): string
函数描述
Retrieves information about the current site.
是否弃用
未弃用
函数参数
-
$show
string
Optional - Site info to retrieve. Default empty (site name).
Default:
'' -
$filter
string
Optional - How to filter what is retrieved. Default
'raw'.Default:
'raw'
函数返回值
string Mostly string values, might be empty.
函数位置
File: wp-includes/general-template.php.
函数源码
$bloginfo = get_bloginfo( $show, $filter );源码链接
变更日志
| Version | Description |
|---|---|
| 0.71 | Introduced. |

