Reference

Guide

page.changeNum:after

$newPage, $oldPage

Example

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