the_author_link

过滤钩子
apply_filters( 'the_author_link', $link, $author_url, $authordata )
参数
  • (string) $link The default rendered author HTML link.
    Required:
  • (string) $author_url Author's URL.
    Required:
  • (WP_User) $authordata Author user data.
    Required:
定义位置
相关勾子
author_linkthe_author_posts_linkthe_authorthe_shortlinktheme_action_links
相关方法
the_author_linkthe_author_loginget_the_author_linkget_author_linkthe_author_idthe_author_msn
引入
6.0.0
弃用
-

the_author_link是一个模板标签,显示作者的档案页的链接。归档页显示该作者写的所有文章,这个标签用来提供一个指向该归档页的链接。

过滤作者的URL链接HTML。

return apply_filters( 'the_author_link', $link, $author_url, $authordata );

常见问题

FAQs
查看更多 >
闪电侠

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

2026-01-29 13:09:46

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

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

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