comment_atom_entry WordPress Action Hook
The comment_atom_entry hook is used to add comments to an Atom feed. This hook is triggered when a comment is made on a post or page. The hook can be used to add comments to the feed for a specific post or page.
do_action( 'comment_atom_entry', int $comment_id , int $comment_post_id ) #
Fires at the end of each Atom comment feed item.
Contents
Parameters
- $comment_id
(int)ID of the current comment.
- $comment_post_id
(int)ID of the post the current comment is connected to.
Source
Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |