WP_CLI\Dispatcher
Subcommand::get_alias()
If an alias is set, grant access to it. Aliases permit subcommands to be instantiated with a secondary identity.
Метод класса: Subcommand{}
Хуков нет.
Возвращает
Строку
.
Использование
$Subcommand = new Subcommand(); $Subcommand->get_alias();
Код Subcommand::get_alias() Subcommand::get alias WP-CLI 2.8.0-alpha
public function get_alias() { return $this->alias; }