WordPress at a glance
function is not described

do_feed_atom() WP 2.1.0

Load either Atom comment feed or Atom posts feed.

  • See: load_template()

No Hooks.

Return

Nothing (null).

Usage

do_feed_atom( $for_comments );
$for_comments(true/false) (required)
True for the comment feed, false for normal feed.

Code of do feed atom: wp-includes/functions.php VER 5.1.1

<?php
function do_feed_atom( $for_comments ) {
	if ( $for_comments ) {
		load_template( ABSPATH . WPINC . '/feed-atom-comments.php' );
	} else {
		load_template( ABSPATH . WPINC . '/feed-atom.php' );
	}
}