W3cubDocs

/WordPress

rewind_posts()

Rewind the loop posts.

Source

File: wp-includes/query.php

function rewind_posts() {
	global $wp_query;
	$wp_query->rewind_posts();
}

Changelog

Version Description
1.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/rewind_posts