cancel_comment_reply_link

过滤钩子


apply_filters( 'cancel_comment_reply_link', $formatted_link, $link, $text )
参数
  • (string)
    $formatted_link
    The HTML-formatted cancel comment reply link.
    Required:
  • (string)
    $link
    Cancel comment reply link URL.
    Required:
  • (string)
    $text
    Cancel comment reply link text.
    Required:
定义位置
  • wp-includes/comment-template.php
    , line 1911
引入
2.7.0
弃用

过滤取消评论回复链接的HTML。

return apply_filters( 'cancel_comment_reply_link', $formatted_link, $link, $text );