WP_CLI\Iterators
Transform::current
Method of the class: Transform{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Transform = new Transform(); $Transform->current();
Transform::current() Transform::current code WP-CLI 2.13.0-alpha
public function current() {
$value = parent::current();
foreach ( $this->transformers as $fn ) {
$value = call_user_func( $fn, $value );
}
return $value;
}