Uses
| Uses | Description |
|---|---|
| wp-includes/class-wp-query.php: WP_Query::rewind_posts() | Rewind the posts and reset post index. |
Rewind the loop posts.
File: wp-includes/query.php
function rewind_posts() {
global $wp_query;
$wp_query->rewind_posts();
} | Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/rewind_posts