Jump to content

Antonio Gil

Member
  • Posts

    1
  • Joined

  • Last visited

About Antonio Gil

Antonio Gil's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hello, I am having trouble developing an addon because this trigger seems its not being fired. In the Hook debug activity log looks like the hook is detected. My code in hooks.php. <?php if (!defined("WHMCS")) { die("This file cannot be accessed directly"); } add_hook('InvoiceCreated', 10, function ($params) { localAPI( 'LogActivity', array( 'description' => "Triggered: InvoiceCreated" )); }); What can be the problem?
  2. Welcome to WHMCS.Community Antonio Gil! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated