Hi Guys,
I read as much as I could about hooks in whm and specially I would need to add my own hook after an account has been created.
It was very easy to set up a post script hook by simply creating the
file and this works perfectly but now here is the problem I'm facing:
I have some custom input fields in the
file and I would need to access those input values from the hook script but unfortunately the only variables that get forwarded to the hook script are:
cPanel & WHM Script Hooks
I also saw that there are Standardized Hooks but unfortunately we only have WHM 11.30 and the standardized hooks have been only introduced in 11.32 so I can't test that too so my question would be:
Can I access custom POST variables from a script or standardized hook and if so what would be the best way to do it.
Thanks in advance!
I read as much as I could about hooks in whm and specially I would need to add my own hook after an account has been created.
It was very easy to set up a post script hook by simply creating the
Code:
/usr/local/cpanel/scripts/postwwwacct
I have some custom input fields in the
Code:
/local/cpanel/whostmgr/docroot/templates/createacct.tmpl
cPanel & WHM Script Hooks
I also saw that there are Standardized Hooks but unfortunately we only have WHM 11.30 and the standardized hooks have been only introduced in 11.32 so I can't test that too so my question would be:
Can I access custom POST variables from a script or standardized hook and if so what would be the best way to do it.
Thanks in advance!