commentrss2_item WordPress Action Hook
The commentrss2_item hook is used to add extra data to the RSS feed for each comment. This hook is called after the comment has been fetched from the database and before it is added to the RSS feed.
do_action( 'commentrss2_item', int $comment_ID , int $ID ) #
Fires at the end of each RSS2 comment feed item.
Contents
Parameters
- $comment_ID
(int)The ID of the comment being displayed.
- $ID
(int)The ID of the post the comment is connected to.
Source
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |