Skip to content

Kirby 3.5.7.1

page.duplicate:before

$originalPage, $input, $options

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