WP_CLI\Dispatcher

CompositeCommand::get_hookpublicWP-CLI 1.0

Get the hook name for this composite command.

Method of the class: CompositeCommand{}

No Hooks.

Returns

String.

Usage

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

CompositeCommand::get_hook() code WP-CLI 2.13.0-alpha

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