WordPress at a glance
function is not described

the_comment() WP 2.2.0

Iterate comment index in the comment loop.

No Hooks.

Return

Object.

Usage

the_comment();

Notes

  • Global. WP_Query. $wp_query WordPress Query object.

Changelog

Since 2.2.0 Introduced.

Code of the_comment() WP 5.5.1

<?php
function the_comment() {
	global $wp_query;
	return $wp_query->the_comment();
}