have_posts()

Whether current ClassicPress query has results to loop over.


Return

(bool)


Source

File: wp-includes/query.php

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


Changelog

Changelog
Version Description
WP-1.5.0 Introduced.