WP_Query::the_comment()

Sets up the current comment.


Source

File: wp-includes/class-wp-query.php

	public function the_comment() {
		global $comment;

		$comment = $this->next_comment();

		if ( $this->current_comment == 0 ) {
			/**
			 * Fires once the comment loop is started.
			 *
			 * @since WP-2.2.0
			 */
			do_action( 'comment_loop_start' );
		}
	}


Changelog

Changelog
Version Description
WP-2.2.0 Introduced.