WordPress函数get_the_author()

文章摘要

鱼见海资源网最新教程: 介绍 get_the_author() 用于显示文章作者的名称的函数,必须使用在 the_loop 循环中。 使用 参数 $deprecated (string) (optional) Deprecated. Default: '' Returns (string) The author's display name. 示例 Grab the Author's 'Public' Name Grabs the value in the user's Display name...

鱼见海资源网最新教程:

介绍

get_the_author() 用于显示文章作者的名称的函数,必须使用在 the_loop 循环中。

使用

参数

$deprecated
(string) (optional) Deprecated.
Default: ”

Returns
(string)
The author’s display name.

示例

Grab the Author’s ‘Public’ Name

Grabs the value in the user’s Display name publicly as field.

文章来源于互联网

0 0 0
© 版权声明
THE END
喜欢就支持一下吧
点赞175 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

夸夸
夸夸
还有吗!没看够!
取消 加入VIP
昵称表情代码图片

    暂无评论内容