Skip to content

Kirby 4.5.0

language.create:after

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

Parameters

Parameter Type
$input array
$language Kirby\Cms\Language