Skip to content

Kirby 3.8.4

language.update:after

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

Parameters

Parameter Type
$newLanguage Kirby\Cms\Language
$oldLanguage Kirby\Cms\Language
$input array