do_feed_atom()
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.
Заметки
| Смотрите: load_template() |
Список изменений
| С версии 2.1.0 | Введена. |
Код do_feed_atom() do feed atom WP 7.1
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' );
}
}