Jump to content

AdminInvoicesControlsOutput hook not executed


Recommended Posts

Hello everyone,

I developed a module to connect our WHMCS to the electronic invoice system and I use the "AdminInvoicesControlsOutput" hook.

We upgraded WHMCS from 8.5 to 8.10 and it seems that the hook is not called anymore.
I have noticed that if an invoice is displayed within the url

admin/invoices.php?action=edit&id=XXXX

the "AdminInvoicesControlsOutput" hook is executed, whereas if the same invoice is displayed under

admin/billing/invoices/XXXX

the hook is NOT executed.
Consider that I am not modifying the WHMCS configuration.

I have enabled the hooks debug and I saw that the callback is hooked, but the hook is not called.

Any suggestion on what is going on?
Thank you all!

Link to comment
Share on other sites

Thankyou for your reply, Luis Alberto!

Could you better specify what you mean, please?
My callback does not run at all (it seems to me that the AdminInvoicesControlsOutput hook is not called), how can debug that? 🤔

Thankyou!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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