WP_CLI\Iterators

Query::currentpublicWP-CLI 1.0ReturnTypeWillChange

Method of the class: Query{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

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

public function current() {
	return $this->results[ $this->index_in_results ];
}