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


PHP WHMCS ContactAdd用法及代码示例

作为联系人执行正在添加到 WHMCS。

参数

变量 类型 注意
userid int
contactid int
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
generalemails bool
productemails bool
domainemails bool
invoiceemails bool
supportemails bool
affiliateemails bool

响应

不支持响应

示例代码

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

相关用法


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