Skip to content

Kirby 3.7.5


Hook into Kirby events and execute your functions in the background

return [
  'hooks' => [
    'page.delete:before' => function ($page) {
      // do something before a page gets deleted

More information

In addition to registering hooks in the config file, you can also register them in plugins. In the plugin docs you will also find more detailed information about hooks.

Register hooks in plugin

Available hooks