do_feed_atom( bool $for_comments )
Load either Atom comment feed or Atom posts feed.
Description Description
See also See also
Parameters Parameters
- $for_comments
-
(bool) (Required) True for the comment feed, false for normal feed.
Source Source
File: wp-includes/functions.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' );
}
}
Expand full source code Collapse full source code View on Trac
Changelog Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |