WP_CLI\Iterators
Query::rewind
Метод класса: Query{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Query = new Query(); $Query->rewind();
Код Query::rewind() Query::rewind WP-CLI 2.13.0-alpha
public function rewind() {
$this->results = [];
$this->global_index = 0;
$this->index_in_results = 0;
$this->offset = 0;
$this->depleted = false;
}