On this page
the_comment()
Iterate comment index in the comment loop.
Source
File: wp-includes/query.php. View all references
function the_comment() {
global $wp_query;
if ( ! isset( $wp_query ) ) {
return;
}
$wp_query->the_comment();
}
Related
Uses
| Uses | Description |
|---|---|
| WP_Query::the_comment() wp-includes/class-wp-query.php | Sets up the current comment. |
Changelog
| Version | Description |
|---|---|
| 2.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_comment