當前位置: 首頁>>編程示例 >>用法及示例精選 >>正文


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。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。