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