get_comment_author_link

过滤钩子
apply_filters( 'get_comment_author_link', $return, $author, $comment->comment_ID )
参数
  • (string) $return The HTML-formatted comment author link. Empty for an invalid URL.
    Required:
  • (string) $author The comment author's username.
    Required:
  • (string) $comment_ID The comment ID as a numeric string.
    Required:
定义位置
相关勾子
get_comment_author_url_linkget_comment_author_ipget_comment_author_urlget_comment_authorget_comment_author_email
相关方法
get_comment_author_linkget_comment_author_url_linkget_comment_author_ipcomment_author_linkget_comment_author_urlget_comment_author_email_link
引入
4.1.0
弃用
-

get_comment_author_link: 这个函数检索给定评论的作者的网站的HTML链接: 该函数接受一个参数,即评论ID,并返回一个代表该链接的HTML字符串。

过滤评论作者的链接以显示。

return apply_filters( 'get_comment_author_link', $return, $author, $comment->comment_ID );

常见问题

FAQs
查看更多 >
闪电侠

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

2025-12-05 20:33:00

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

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

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