Un motore di ricerca WordPress per sviluppatori e autori di temi



do_feed_atom ›

Da2.1.0
Deprecaton/a
do_feed_atom ( $for_comments )
Parametri:
  • (bool) $for_comments True for the comment feed, false for normal feed.
    Richiesto:
Vedi:
Definito a:
Codex:

Load either Atom comment feed or Atom posts feed.



Sorgenti

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