Skip to content

Kirby 3.8.4

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