rewind_posts() WP 1.0
Rewind the loop posts.
No Hooks.
Return
Null. Nothing.
Usage
rewind_posts();
Notes
- Global. WP_Query. $wp_query WordPress Query object.
Changelog
Since 1.5.0 | Introduced. |
Code of rewind_posts() rewind posts WP 5.6
function rewind_posts() {
global $wp_query;
$wp_query->rewind_posts();
}Related Functions
From tag: query
More from category: Queries
- get_post()
- in_the_loop()
- is_404()
- is_archive()
- is_attachment()
- is_author()
- is_category()
- is_date()
- is_day()
- is_feed()