Skip to content

Kirby 4.4.1

user.logout:after

/site/config/config.php
return [
    'hooks' => [
        'user.logout:after' => function (Kirby\Cms\User $user, Kirby\Session\Session $session) {
            // your code goes here
        }
    ]
]

Parameters

Parameter Type
$user Kirby\Cms\User
$session Kirby\Session\Session