WP_CLI\Dispatcher
CompositeCommand::get_subcommands
Get the subcommands contained by this composite command.
Метод класса: CompositeCommand{}
Хуков нет.
Возвращает
Массив.
Использование
$CompositeCommand = new CompositeCommand(); $CompositeCommand->get_subcommands();
Код CompositeCommand::get_subcommands() CompositeCommand::get subcommands WP-CLI 2.13.0-alpha
public function get_subcommands() {
ksort( $this->subcommands );
return $this->subcommands;
}