do_feed_atom

Definition:
function do_feed_atom( $for_comments ) {}

Load either Atom comment feed or Atom posts feed.

Parameters

  • bool $for_comments: True for the comment feed, false for normal feed.

Source code

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

}

958

No comments yet... Be the first to leave a reply!

Leave a comment