do_feed_atom()WP 2.1.0

Loads either Atom comment feed or Atom posts feed.

Хуков нет.

Возвращает

null. Ничего (null).

Использование

do_feed_atom( $for_comments );
$for_comments(true|false) (обязательный)
True for the comment feed, false for normal feed.

Заметки

Список изменений

С версии 2.1.0 Введена.

Код do_feed_atom() WP 6.5.2

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