Hello,
I have implemented the plugin âkirby-locked-pagesâ but I am stuck on a question about hooks.
The plugin contains a hook âlocked-pages.logoutâ which allows to logout again. But I donât understand how to trigger a kirby hook via a html-link.
You cannot trigger a hook via a link, or not directly. The easiest would be a custom route, with a pattern like logout, then inside this route, call kirby()->trigger('locked-pages.logout'). Not sure why a hook is used.