Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: comment_atom_entry

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
128
129           /**
130            * Fires at the end of each Atom comment feed item.
131            *
132            * @since 2.2.0
133            *
134            * @param int $comment_id      ID of the current comment.
135            * @param int $comment_post_id ID of the post the current comment is connected to.
136            */
137           do_action( 'comment_atom_entry', $comment->comment_ID, $comment_post->ID );
138           ?>
139      </entry>
140      <?php
141 endwhile;
142 ?>
143 </feed>
144