have_posts()

最后更新于:2021-11-27 05:28:34

have_posts()

Determines whether current GeChiUI query has posts to loop over.

响应

(bool) True if posts are available, false if end of the loop.

源文件

文件: gc-includes/query.php

function have_posts() {
	global $gc_query;
	return $gc_query->have_posts();
}