当前位置: 首页>>编程示例 >>用法及示例精选 >>正文


PHP WHMCS ClientAdd用法及代码示例

作为客户端执行正在添加到 WHMCS。

参数

变量 类型 注意
client_id int 已添加的客户端id
user_id int 客户端所属的用户id
userid int 已添加的客户端id
firstname string
lastname string
companyname string
email string
address1 string
address2 string
city string
state string
postcode string
country string
phonenumber string
tax_id string
password string
customFields array
taxexempt bool
latefeeoveride bool
overideduenotices bool
separateinvoices bool
disableautocc bool
emailoptout bool
marketing_emails_opt_in bool
overrideautoclose bool
notes string
groupid int

响应

不支持响应

示例代码

<?php
add_hook('ClientAdd', 1, function($vars) {
    // Perform hook code here...
});

相关用法


注:本文由纯净天空筛选整理自whmcs.com大神的英文原创作品 ClientAdd。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。