Several hooks exist to execute your own PHP code when specific events occur. The following hooks are currently available:

The default WHMCS $params variable get passed to these hooks. The $params variable contains all relevant informations about the client service.
You can use the logActivity function to see what $params contains exactly.

A new entry is added to the "Module Activity Log" when a hook is executed successfully. Logging can be disabled at the module settings page.