如何在我的whmcs中调用我的注销钩子代码?

时间:2017-02-13 07:52:44

标签: php client whmcs

<?php
function logout_intercom{
    echo "<script type=\"text/javascript\"> Intercom('shutdown'); </script>";
    die();
}
add_hook('ClientLogout', 1, 'logout_intercom');
?>

在上面的代码中,代码被写为seprate hooks.php文件,我需要在客户端注销时调用此代码。
因此,我需要一个代码,在whmcs客户端注销时调用我的代码到whmcs。

0 个答案:

没有答案
相关问题