WP_CLI\Dispatcher
CompositeCommand::set_shortdesc()
Set the short description for this composite command.
Method of the class: CompositeCommand{}
No Hooks.
Return
null
. Nothing (null).
Usage
$CompositeCommand = new CompositeCommand(); $CompositeCommand->set_shortdesc( $shortdesc );
- $shortdesc(string) (required)
- -
CompositeCommand::set_shortdesc() CompositeCommand::set shortdesc code WP-CLI 2.8.0-alpha
public function set_shortdesc( $shortdesc ) { $this->shortdesc = Utils\normalize_eols( $shortdesc ); }