Skip to content

Kirby 4.4.1

file.changeSort:after

/site/config/config.php
return [
    'hooks' => [
        'file.changeSort:after' => function (Kirby\Cms\File $newFile, Kirby\Cms\File $oldFile) {
            // your code goes here
        }
    ]
]

Parameters

Parameter Type
$newFile Kirby\Cms\File
$oldFile Kirby\Cms\File