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.


Parameters

$comment_id

(int)ID of the current comment.

$comment_post_id

(int)ID of the post the current comment is connected to.


Top ↑

Source

File: wp-includes/feed-atom-comments.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
2.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.