respond_link

过滤钩子


apply_filters( 'respond_link', $respond_link, $post_id )
参数
  • (string)
    $respond_link
    The default response link.
    Required:
  • (int)
    $post_id
    The post ID.
    Required:
定义位置
  • wp-includes/comment-template.php
    , line 1616
引入
4.4.0
弃用

Filters the respond link when a post has no comments.

echo apply_filters( 'respond_link', $respond_link, $post_id );