author_link

过滤钩子
apply_filters( 'author_link', $link, $author_id, $author_nicename )
参数
  • (string) $link The URL to the author's page.
    Required:
  • (int) $author_id The author's ID.
    Required:
  • (string) $author_nicename The author's nice name.
    Required:
定义位置
相关勾子
the_author_linkauthor_feed_linkcategory_linkyear_linkterm_link
相关方法
the_author_linkget_author_linkauthor_canthe_author_loginget_author_rss_linkcomment_author_link
引入
2.1.0
弃用
-

author_link是WordPress的一个函数,用于检索特定作者的档案页的URL: 这个函数以作者的ID为参数,并返回该作者的档案页的URL。

过滤到作者页面的URL。

$link = apply_filters( 'author_link', $link, $author_id, $author_nicename );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2026-03-15 14:37:20

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: