wpseek.com
A WordPress-centric search engine for devs and theme authors



do_feed_atom › WordPress Function

Since2.1.0
Deprecatedn/a
do_feed_atom ( $for_comments )
Parameters:
  • (bool) $for_comments True for the comment feed, false for normal feed.
    Required: Yes
See:
Defined at:
Codex:

Loads either Atom comment feed or Atom posts feed.



Source

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' );
	}
}