Skip to content

Kirby 3.6.1

page.delete:after

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

Parameters

Parameter Type
$status bool
$page Kirby\Cms\Page