comment_id_fields

过滤钩子


apply_filters( 'comment_id_fields', $result, $post_id, $reply_to_id )
参数
  • (string)
    $result
    The HTML-formatted hidden ID field comment elements.
    Required:
  • (int)
    $post_id
    The post ID.
    Required:
  • (int)
    $reply_to_id
    The ID of the comment being replied to.
    Required:
定义位置
  • wp-includes/comment-template.php
    , line 1952
引入
3.0.0
弃用

Filters the returned comment ID fields.

return apply_filters( 'comment_id_fields', $result, $post_id, $reply_to_id );