WP_CLI\Dispatcher

CompositeCommand::get_hookpublicWP-CLI 1.0

Get the hook name for this composite command.

Метод класса: CompositeCommand{}

Хуков нет.

Возвращает

Строку.

Использование

$CompositeCommand = new CompositeCommand();
$CompositeCommand->get_hook();

Код CompositeCommand::get_hook() WP-CLI 2.13.0-alpha

public function get_hook() {
	return $this->hook;
}