AnsPress_Query::rewind()

Description #

Rewind the object and reset index.

Source #

File: includes/class-query.php

	public function rewind() {
		$this->current = -1;

		if ( $this->count > 0 ) {
			$this->object = $this->objects[0];
		}
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment