comment_atom_entry

动作钩子


do_action( 'comment_atom_entry', $comment->comment_ID, $comment_post->ID )
参数
  • (int)
    $comment_id
    ID of the current comment.
    Required:
  • (int)
    $comment_post_id
    ID of the post the current comment is connected to.
    Required:
定义位置
  • wp-includes/feed-atom-comments.php
    , line 137
引入
2.2.0
弃用

在每个Atom评论feed项目结束时启动。

do_action( 'comment_atom_entry', $comment->comment_ID, $comment_post->ID );