WP_Query::rewind_comments()

In this article

Rewinds the comments, resets the comment index and comment to first.

Source

 *
 * @param WP_Query $query The WP_Query instance (passed by reference).
 */
do_action_ref_array( 'loop_end', array( &$this ) );

// Do some cleaning up after the loop.

Changelog

VersionDescription
2.2.0Introduced.

User Contributed Notes

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