have_comments

Advertisement

Summery Summery

Whether there are comments to loop over.

Syntax Syntax

have_comments()

Return Return

(bool)

Source Source

File: wp-includes/query.php

 */
function have_comments() {
	global $wp_query;
	return $wp_query->have_comments();

Advertisement

Changelog Changelog

Changelog
Version Description
2.2.0 Introduced.

Advertisement

Leave a Reply