I'm working on a module for WHMCS that needs to execute a few functions after the daily cron job. This isn't too hard to do, but I'm having some issues understanding hook priorities, since the functions need to be executed in a specific order.
I've looked online, but haven't found a definitive answer yet, and the WHMCS documentation is severely lacking in this aspect.
I'm looking for the following information:
- Are hook actions executed by ascending or descending priority?
- Are duplicate priorities for the same hook allowed?
Thanks!