panel.route:after
return [
'hooks' => [
'panel.route:after' => function (Kirby\Http\Route $route, string $path, string $method, mixed $reponse) {
// your code goes here
return $reponse;
}
]
]
Parameters
Parameter | Type |
---|---|
$route | Kirby\Http\Route |
$path | string |
$method | string |
$reponse | mixed |