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:
定义位置
  • wp-includes/comment-template.php
    , line 242
引入
4.1.0
弃用

Filters the comment author’s link for display.

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