Difference between revisions of "Hooks"

From WHMCS Documentation

m (Removed erroneous asterisk)
(Replaced content with "<div class="docs-alert-info"> <span class="title">Note</span><br /> This page has moved to [https://developers.whmcs.com/hooks/ https://developers.whmcs.com/hooks/] </div>")
 
(37 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Action hooks allow you to write your own PHP code that will run when specific actions occur in WHMCS. There is a function for each action that supports hooks.
+
<div class="docs-alert-info">
 
+
<span class="title">Note</span><br />
To view the available action hooks, open the file includes/actionhooks.php (The variables avaible in a specific function are listed in the comments for that function).
+
This page has moved to [https://developers.whmcs.com/hooks/ https://developers.whmcs.com/hooks/]
 
+
</div>
Invalid code here will will cause WHMCS to fail so ensure your code is valid.
 

Latest revision as of 10:45, 4 January 2017

Note
This page has moved to https://developers.whmcs.com/hooks/