WordPress at a glance

rewind_posts() WP 1.0

Rewind the loop posts.

No Hooks.

Return

Null. Nothing.

Usage

rewind_posts();

Notes

  • Global. WP_Query. $wp_query Global WP_Query instance.

Changelog

Since 1.5.0 Introduced.

Code of rewind posts: wp-includes/query.php WP 5.2.2

<?php
function rewind_posts() {
	global $wp_query;
	$wp_query->rewind_posts();
}

Related Functions

From tag: query

More from category: Queries

No comments
    Hello, !     Log In . Register