WP_CLI\Iterators

Query::nextpublicWP-CLI 1.0ReturnTypeWillChange

Method of the class: Query{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Query = new Query();
$Query->next();

Query::next() code WP-CLI 2.13.0-alpha

public function next() {
	++$this->index_in_results;
	++$this->global_index;
}