have_comments()
Whether there are comments to loop over.
Return
(bool)
Source
File: wp-includes/query.php
function have_comments() {
global $wp_query;
return $wp_query->have_comments();
}
Changelog
Version | Description |
---|---|
WP-2.2.0 | Introduced. |