BuddyPressCommand::get_formatter( array $assoc_args )

Get Formatter object based on supplied parameters.


Parameters Parameters

$assoc_args

(array) (Required) Parameters passed to command. Determines formatting.


Top ↑

Return Return

(WP_CLIFormatter)


Source Source

File: cli/src/command.php

	protected function get_formatter( &$assoc_args ) {
		return new WP_CLI\Formatter( $assoc_args, $this->obj_fields );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.