WP_CLI\Dispatcher
CompositeCommand::get_hook
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() CompositeCommand::get hook code WP-CLI 2.13.0-alpha
public function get_hook() {
return $this->hook;
}