comment_reply_link

过滤钩子


apply_filters( 'comment_reply_link', $args['before'] . $link . $args['after'], $args, $comment, $post )
参数
  • (string)
    $link
    The HTML markup for the comment reply link.
    Required:
  • (array)
    $args
    An array of arguments overriding the defaults.
    Required:
  • (WP_Comment)
    $comment
    The object of the comment being replied.
    Required:
  • (WP_Post)
    $post
    The WP_Post object.
    Required:
定义位置
  • wp-includes/comment-template.php
    , line 1774
引入
2.7.0
弃用

Filters the comment reply link.

return apply_filters( 'comment_reply_link', $args['before'] . $link . $args['after'], $args, $comment, $post );