Skip to content

Kirby 3.5.7.1

page.changeStatus:after

$newPage, $oldPage

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