Skip to content

Kirby 4.5.0

language.delete:after

/site/config/config.php
return [
    'hooks' => [
        'language.delete:after' => function (Kirby\Cms\Language $language) {
            // your code goes here
        }
    ]
]

Parameters

Parameter Type
$language Kirby\Cms\Language