commentrss2_item action-hook . WP 2.1.0
Fires at the end of each RSS2 comment feed item.
Usage
add_action( 'commentrss2_item', 'action_function_name_7704', 10, 2 ); function action_function_name_7704( $comment_ID, $ID ){ // action... }
- $comment_ID(int)
- The ID of the comment being displayed.
- $ID(int)
- The ID of the post the comment is connected to.
Changelog
Since 2.1.0 | Introduced. |
Where the hook is called
In file: /wp-includes/feed-rss2-comments.php
commentrss2_item
wp-includes/feed-rss2-comments.php 116
do_action( 'commentrss2_item', $comment->comment_ID, $comment_post->ID );