Skip to content

Kirby 3.6.1

page.changeNum:before

/site/config/config.php
return [
    'hooks' => [
        'page.changeNum:before' => function (Kirby\Cms\Page $page, int $num) {
            // your code goes here
        }
    ]
]

Parameters

Parameter Type
$page Kirby\Cms\Page
$num int