wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



do_feed_atom › WordPress Function

Seit2.1.0
Veraltetn/v
do_feed_atom ( $for_comments )
Parameter:
  • (bool) $for_comments True for the comment feed, false for normal feed.
    Erforderlich: Ja
Siehe:
Definiert in:
Codex:

Loads either Atom comment feed or Atom posts feed.



Quellcode

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