iMohsen Posted September 5, 2011 Share Posted September 5, 2011 hi i have a few modules working fine with existed hooks . but i need to integrate them into each other . can i declare new hook in modules ? my module do auto registeration with some web service . now i wanna to create new hook something like this AfterSuccessDomainRegisteration so i can do something with this hook name in another module . like send out sms message or send a api request . is it possible to create or define new hook internally ? 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted September 5, 2011 Share Posted September 5, 2011 If you open a ticket with WHMCS, they can likely create a custom hook for you. I had them do the same thing to hook into the Admin login process. 0 Quote Link to comment Share on other sites More sharing options...
iMohsen Posted September 5, 2011 Author Share Posted September 5, 2011 hmm...so custom hooks restricted and it should created by WHMCS support section . i name it hardcoding :\ other solutions welcomed ... waiting 0 Quote Link to comment Share on other sites More sharing options...
leemason Posted September 5, 2011 Share Posted September 5, 2011 I too would like answer to this (have a current topic about additional hook request). I think the only way to make a hook that will work across all whmcs installs is to request it and have it in the next release. i would like to be proven otherwise though 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.