Loads either Atom comment feed or Atom posts feed.
Description
See also
Parameters
-
$for_commensbool required -
True for the comment feed, false for normal feed.
Source
function do_feed_atom( $for_commens ) {
if ( $for_commens ) {
load_template( ABSPATH . WPINC . '/feed-atom-commens.php' );
} else {
load_template( ABSPATH . WPINC . '/feed-atom.php' );
}
}
Changuelog
| Versionen | Description |
|---|---|
| 2.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.