WP_Query::next_comment(): WP_Comment

In this article

Iterates current comment index and returns WP_Comment object.

Return

WP_Comment Comment object.

Source


$this->in_the_loop = true;
$this->before_loop = false;

if ( -1 === $this->current_post ) { // Loop has just started.
	/**
	 * Fires once the loop is started.

Changelog

VersionDescription
2.2.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.