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


PHP WHMCS ContactEdit用法及代碼示例

在編輯聯係人時運行。

參數

變量 類型 注意
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
domainemails bool
generalemails bool
invoiceemails bool
productemails bool
supportemails bool
affiliateemails bool
olddata array 先前聯係信息的數組

響應

不支持響應

示例代碼

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

相關用法


注:本文由純淨天空篩選整理自whmcs.com大神的英文原創作品 ContactEdit。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。