您的当前位置:首页 > 知识博客 > wordpress建站

WordPress获取作者函数:get_the_author

时间:2024-03-11

WordPress函数get_the_author用于获取作者的名称,返回名称为个人资料中“公开显示为”选项设置。

get_the_author( string $deprecated = '' )

函数参数

$deprecated

字符串,默认为空

自2.1.0版本起,不再支持该参数。

扩展阅读

get_the_author()函数位于:wp-includes/author-template.php

相关函数:

  • the_author()

  • get_the_author_posts_link()

  • get_the_archive_title()

  • get_the_author_link()

  • the_author_posts_link()

  • the_author_link()


欢迎咨询/Welcome to inquire
tel/vx:18842938855
qq:1685522781
email:1685522781@qq.com

Copyright © 2019-2024 sex.cyou


Whatsapp
Powered by RRZCMS