rewind_posts()
Rewind the loop posts.
Contents
Source
File: wp-includes/query.php
.
View all references
function rewind_posts() {
global $wp_query;
if ( ! isset( $wp_query ) ) {
return;
}
$wp_query->rewind_posts();
}
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Basic Example
Example with custom query migrated from Codex