Skip to content

Kirby 3.6.6

page.create:after

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

Parameters

Parameter Type
$page Kirby\Cms\Page