Module Hooks

All the same principles as regular hooks are followed by Module hooks

Defining Hooks Within A Module
To provide hooks as part of a module, create a file named .php hooks in the root of your module directory.

This hooks file will be detected and loaded by WHASOLS on event occure or page load.

Please note that at the time of an event occure hook files are detected automatically If a hook file is added after the module has already been activated, so it doesn't required to do additional steps to be performed for WHASOLS to recognize it.