Hook for Multiple Account Modification/Upgrade

UADerek

Member
Jul 31, 2012
6
0
1
cPanel Access Level
Root Administrator
Does cPanel/WHM provide a hook for when multiple accounts are modified/upgraded?

More specifically – when using the 'Modify/Upgrade Multiple Accounts' feature in WHM, is there a hook that will run after a user clicks 'Change?'

Thanks,
Derek
 

cPanelDavidN

Well-Known Member
Staff member
Dec 17, 2009
571
3
68
Houston, TX
cPanel Access Level
Root Administrator
Hi all,

Currently there is not a hook for 'Upgrade/Downgrade an Account' or 'Modify/Upgrade Multiple Accounts'. We hope to have those in the future. I would suggest looking in the feature request for for an existing thread and adding a post for you support for said feature; start a new thread if one doesn't exist. Posting your support for feature development helps us prioritize improvements to the product.

Best Regards,
-DavidN
 

UADerek

Member
Jul 31, 2012
6
0
1
cPanel Access Level
Root Administrator
I dont see anything specific on the sdk. What exactly are you looking to do after every modification/upgrade?
We have Apache .conf files that need to be moved around when the account's owner/reseller or domain changes. I got this working using the pre/postmodifyacct hooks when you modify one account at a time, but noticed that same hook wasn't being called when you use the modify accounts en masse.

Hi all,

Currently there is not a hook for 'Upgrade/Downgrade an Account' or 'Modify/Upgrade Multiple Accounts'. We hope to have those in the future. I would suggest looking in the feature request for for an existing thread and adding a post for you support for said feature; start a new thread if one doesn't exist. Posting your support for feature development helps us prioritize improvements to the product.

Best Regards,
-DavidN
Thanks DavidN, I'll do just that! :)