LicenseChef Posted January 28, 2010 Share Posted January 28, 2010 I'm trying to use the action hook but the whmcs documentation does not mention of this. I'm wondering is it all I have to do is place the php file inside the action hook folder in order for me to use the action hook? Anything else I need to get whmcs to notice the new file I place in ? or whmcs automatically load all files in the action hook folder. 0 Quote Link to comment Share on other sites More sharing options...
rmccny Posted January 28, 2010 Share Posted January 28, 2010 The documentation pretty much explains it all. Yes you create your file with the code you want to use in the hook and place in the hooks directory. You essentially create a function to act on a particular hook then pass it as a parameter to add_hook. http://wiki.whmcs.com/Action_Hooks 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.