Skip to content

Kirby 3.5.7.1

page.changeStatus:before

$page, $status, $position

/site/config/config.php
return [
    'hooks' => [
        'page.changeStatus:before' => function ($page, $status, $position) {
            // your code goes here
        }
    ]
]