# file.delete:after

****

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

| Name | Type |
| ---- | ---- |
| `$status` | `bool` |
| `$file` | `Kirby\Cms\File` |