do_feed_atom( bool $for_comments )

Loads either Atom comment feed or Atom posts feed.


Description

Top ↑

See also


Top ↑

Parameters

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

Top ↑

Source

File: wp-includes/functions.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.