Skip to content

Kirby 3.5.7.1

page.duplicate:after

$duplicatePage, $originalPage

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