Themosis\Hook\IHook::getCallback PHP Method

getCallback() public method

Return the callback registered with the given hook.
public getCallback ( string $hook ) : array | boolean
$hook string The hook name.
return array | boolean
    public function getCallback($hook);