WP_CLI\Iterators
Transform::add_transform()
Method of the class: Transform{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Transform = new Transform(); $Transform->add_transform( $fn );
- $fn (required)
- -
Transform::add_transform() Transform::add transform code WP-CLI 2.8.0-alpha
public function add_transform( $fn ) { $this->transformers[] = $fn; }