WP_CLI\Iterators
Query::rewind()
Method of the class: Query{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Query = new Query(); $Query->rewind();
Query::rewind() Query::rewind code WP-CLI 2.8.0-alpha
public function rewind() { $this->results = []; $this->global_index = 0; $this->index_in_results = 0; $this->offset = 0; $this->depleted = false; }