What triggers a plugin hook?

Hello,
I am trying to understand the operating of the plugin PDF TOC which uses hooks, toc_for_bookreader and toc_for_public_show. How could we know what triggers those hooks ?
Thanks,

Generally hooks are triggered by a call to fire_plugin_hook.

From its name I would assume toc_for_bookreader is actually a hook fired by the BookReader plugin.

Hello,
Thats, right. Here is the trigger to toc_for_bookreader via fire_plugin_hook in the BookReader plugin…
Thanks,

Hello,
Thanks to those informations, I developped my first Omeka plugin: https://github.com/JBPressac/TocForUniversalViewer.
Thanks,

This topic was automatically closed after 250 days. New replies are no longer allowed.