WP_CLI\Dispatcher
Subcommand::show_usage()
Print the usage details to the end user.
Метод класса: Subcommand{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$Subcommand = new Subcommand(); $Subcommand->show_usage( $prefix );
- $prefix(строка)
- -
По умолчанию: 'usage: '
Код Subcommand::show_usage() Subcommand::show usage WP-CLI 2.8.0-alpha
public function show_usage( $prefix = 'usage: ' ) { \WP_CLI::line( $this->get_usage( $prefix ) ); }