Mauro_dev Posted July 13, 2018 Share Posted July 13, 2018 Hello, I am reviewing some details to put my WHMCS into production, to effectively automate the hosting service activation process, I need to perform a hook to add other additional functions to the service Creation process. Is it possible to integrate an own Hook ?. In the documentation I read that it was necessary to integrate the hook.php in the module directory, however, this module already has a hook that is also encoded. 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted July 14, 2018 Share Posted July 14, 2018 You can create your own hook file in includes/hooks directory. Create a php file here and code your custom action hook. 0 Quote Link to comment Share on other sites More sharing options...
Mauro_dev Posted July 19, 2018 Author Share Posted July 19, 2018 Thanks for you answer. I developed a hook in an addons and hung myself in the "AfterModuleCreate" process where I filter what type of service is being raised to execute the necessary action. 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.