Skip to content

Kirby 3.9.1

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