Quick question about /scripts/postwwwacct hook

vimalkumar_k

Member
Feb 24, 2007
18
0
151
Hi,

I must apologize I did not get any time to check it myself, so please consider this a quick yes or no question..

My question is :

if I create a hook for /scripts/postwwwacct, I assume it will only work when creating a new account via WHM? Does this hook also work if I use shell (say, restore an account - /scripts/restorepkg)

Thank you
 

cPanelDavidN

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

WHM Account Creation: YES
WHM Restore Backup: YES
/scripts/wwwacct: YES
/scripts/restorepkg: YES
XML-API::createacct: YES
XML-API::restoreaccount: YES
(note, restoreaccount via XML-API, documented here, is only available in 11.28+)

Regards,
-DavidN