سلام
با این hook میتونید این کارو انجام بدید:
Hooks:Clients - WHMCS Documentation
برنامه نویسی هوک بسیار ساده هست
ااین نمونه رو ببینید:
کد PHP:
<?php
function hook_create_forum_account($vars) {
$firstname = $vars['firstname'];
$lastname = $vars['lastname'];
$email = $vars['email'];
# Run code to create remote forum account here...
}
add_hook("ClientAdd",1,"hook_create_forum_account");
?>