WP_CLI\Dispatcher
CompositeCommand::get_usage()
Get the usage for this composite command.
Method of the class: CompositeCommand{}
No Hooks.
Return
String
.
Usage
$CompositeCommand = new CompositeCommand(); $CompositeCommand->get_usage( $prefix );
- $prefix (required)
- -
CompositeCommand::get_usage() CompositeCommand::get usage code WP-CLI 2.8.0-alpha
public function get_usage( $prefix ) { return sprintf( '%s%s %s', $prefix, implode( ' ', get_path( $this ) ), $this->get_synopsis() ); }