WP_Query::rewind_posts() In this article Table of ContentsSource Related Changelog ↑ Back to top Rewinds the posts and resets post index. Source public function rewind_posts() { $this->current_post = -1; if ( $this->post_count > 0 ) { $this->post = $this->posts[0]; } } View all references View on Trac View on GitHub Related Used byDescriptionWP_Query::have_posts()wp-includes/class-wp-query.phpDetermines whether there are more posts available in the loop. rewind_posts()wp-includes/query.phpRewind the loop posts. Changelog VersionDescription1.5.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.