Help required in customising domain mapping


Thank you for your great plugin. I would be grateful if you could help me in customising your plugin.

I would like to perform a curl request to my cPanel to add the addon-domain there, automatically when I submit the Add button(screenshot attached). I have my scripts ready,but don’t know where to put it. If you could point out the function which is saving the new domain map, I can do it very easily.

Thanks in Advance!