Skip to content

Kirby 3.7.3

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