Iβm doing it like Jeff Bezos: Why do the hooks need to be loaded first?
By always answer with a question?
Taaadaa!
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
toaaa
and the filekirby-hooks-debugger.php
toaaa.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.