commentsrss2_head

commentsrss2_head

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('commentsrss2_head') is found 1 times:

  • /wp-includes/feed-rss2-comments.php line 71
    	 * Fires at the end of the RSS2 comment feed header.
    	 *
    	 * @since 2.3.0
    	 */
    	do_action( 'commentsrss2_head' );
    
    	while ( have_comments() ) :
    		the_comment();
    		$comment_post    = get_post( $comment->comment_post_ID );
    		$GLOBALS['post'] = $comment_post;
    		?>