On this page
rewind_posts()
Rewind the loop posts.
Source
File: wp-includes/query.php. View all references
function rewind_posts() {
global $wp_query;
if ( ! isset( $wp_query ) ) {
return;
}
$wp_query->rewind_posts();
}
Related
Uses
| Uses | Description |
|---|---|
| WP_Query::rewind_posts() wp-includes/class-wp-query.php | Rewind the posts and reset post index. |
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/rewind_posts