comment_atom_entry action-hookWP 2.2.0

Fires at the end of each Atom comment feed item.

Usage

add_action( 'comment_atom_entry', 'wp_kama_comment_atom_entry_action', 10, 2 );

/**
 * Function for `comment_atom_entry` action-hook.
 * 
 * @param int $comment_id      ID of the current comment.
 * @param int $comment_post_id ID of the post the current comment is connected to.
 *
 * @return void
 */
function wp_kama_comment_atom_entry_action( $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
comment_atom_entry
wp-includes/feed-atom-comments.php 138
do_action( 'comment_atom_entry', $comment->comment_ID, $comment_post->ID );

Where the hook is used in WordPress

Usage not found.