get_author_name()
get_author_name( int $auth_id = false )
检索指定作者的首选显示名称。
Retrieve the specified author’s preferred display name.
说明(Description)
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$auth_id | (int) | 可选 | 作者的身份证。 |
返回(Return)
(string)作者的显示名称。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.8.0 | wp-includes/deprecated.php:1570 | 0 | 2 |
get_author_name() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_author_name/