Run plugin first from config.php

I’m doing it like Jeff Bezos: Why do the hooks need to be loaded first?

By always answer with a question? :wink:

Taaadaa! :slight_smile:

I hope to find a better solution for the plugin to be loaded first.

Must be loaded first

Kirby Hooks Debugger needs to load before any other plugin that uses hooks in order to work. There are at least two ways to do that:

Alternative 1 - Rename the plugin

Rename the folder kirby-hooks-debugger to aaa and the file kirby-hooks-debugger.php to aaa.php.

Alternative 2 - Load the Kirby Hooks Debugger plugin from your plugin

If you are building a plugin you can add this line to force load the Kirby Hooks Debugger plugin.