Skip to content

Kirby 3.6.6

file.delete:after

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

Parameters

Parameter Type
$status bool
$file Kirby\Cms\File