comment_atom_entry action-hook . WP 2.2.0
Fires at the end of each Atom comment feed item.
Usage
add_action( 'comment_atom_entry', 'action_function_name_6861', 10, 2 ); function action_function_name_6861( $comment_id, $comment_post_id ){ // action... }
- $comment_id(int)
- ID of the current comment.
- $comment_post_id(int)
- ID of the post the current comment is connected to.
Changelog
Since 2.2.0 | Introduced. |
Where the hook is called
In file: /wp-includes/feed-atom-comments.php
wp-includes/feed-atom-comments.php 137
do_action( 'comment_atom_entry', $comment->comment_ID, $comment_post->ID );