Skip to content

Kirby 4.4.1

file.create:after

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

Parameters

Parameter Type
$file Kirby\Cms\File