WP_CLI\Iterators

Query::current()publicWP-CLI 1.0

Method of the class: Query{}

No Hooks.

Return

null. Nothing (null).

Usage

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

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

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