rewind_posts()
Rewind the loop posts.
Description
Source
File: wp-includes/query.php
function rewind_posts() { global $wp_query; $wp_query->rewind_posts(); }
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
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. |
Basic Example
Example with custom query migrated from Codex