Skip to content

Kirby 3.8.4

file.update:after

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

Parameters

Parameter Type
$newFile Kirby\Cms\File
$oldFile Kirby\Cms\File