1. 首页
  2. WordPress 函数手册

get_the_author_posts_link()

get_the_author_posts_link()

检索指向当前文章作者的作者页的HTML链接。
Retrieves an HTML link to the author page of the current post’s author.

目录锚点:#说明#返回#源码


说明(Description)

使用get_author_posts_url()返回HTML格式的链接。


返回(Return)

(string)指向作者页的HTML链接,如果未定义$authordata,则为空string。


源码(Source)


更新版本 源码位置 使用 被使用
4.4.0 wp-includes/author-template.php:293 1 function 7

get_the_author_posts_link() 为WP2原创文章,链接:https://www.wp2.cn/functions/get_the_author_posts_link/