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