Skip to content

Kirby 3.9.1

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