do_feed_atom()

最后更新于:2021-11-26 03:50:16

do_feed_atom( bool$for_comments)

Load either Atom comment feed or Atom posts feed.

参数

$for_comments

(bool) (Required) True for the comment feed, false for normal feed.

源文件

文件: gc-includes/functions.php

function do_feed_atom( $for_comments ) {
	if ( $for_comments ) {
		load_template( ABSPATH . GCINC . '/feed-atom-comments.php' );
	} else {
		load_template( ABSPATH . GCINC . '/feed-atom.php' );
	}
}