在通過客戶區、管理區或 API 編輯客戶端時執行。
參數
變量 | 類型 | 注意 |
---|---|---|
userid | int | |
uuid | string | |
firstname | string | |
lastname | string | |
companyname | string | |
string | ||
address1 | string | |
address2 | string | |
city | string | |
state | string | |
postcode | string | |
country | string | 兩個字母的 ISO 代碼。 |
phonenumber | string | |
currency | int | 幣種id |
notes | string | |
status | string | |
taxexempt | bool | |
latefeeoveride | bool | 用於防止逾期發票包括滯納金。 |
overideduenotices | bool | 用於為客戶禁用過期電子郵件通知。 |
separateinvoices | bool | 防止將具有相同到期日期和付款方式的項目組合到一張發票中。 |
disableautocc | bool | 防止通過商家網關到期的發票被自動嘗試捕獲。 |
emailoptout | bool | 防止通過電子郵件營銷活動(以前的群發郵件)或電子郵件營銷工具發送電子郵件。 |
marketing_emails_opt_in | bool | |
overrideautoclose | bool | |
language | string | |
billingcid | int | billing-related 項目的主要聯係人。 |
groupid | int | 客戶群id |
allow_sso | bool | 是否為客戶端啟用 Single Sign-On。 |
olddata | array | 先前聯係信息的數組 |
authmodule | string | 為用戶啟用了Two-Factor 身份驗證模塊。 |
authdata | string | 用戶的Two-Factor 身份驗證數據。 |
email_verified | bool | 客戶是否已驗證其電子郵件地址。 |
isOptedInToMarketingEmails | bool | |
email_preferences[affiliate] | bool | 接收會員通訊。 |
email_preferences[domain] | bool | 客戶是否收到注冊或轉讓確認和續訂通知。 |
email_preferences[general] | bool | 客戶端是否收到account-related 電子郵件。 |
email_preferences[invoices] | bool | 客戶是否收到新的發票、提醒和逾期通知。 |
email_preferences[product] | bool | 接收歡迎電子郵件、暫停和其他生命周期通知。 |
email_preferences[support] | bool | 接收所有支持票證通信的抄送。 |
響應
不支持響應
示例代碼
<?php
add_hook('ClientEdit', 1, function($vars) {
// Perform hook code here...
});
相關用法
- PHP WHMCS ClientAreaPageDownloads用法及代碼示例
- PHP WHMCS ClientAreaHeaderOutput用法及代碼示例
- PHP WHMCS ClientAreaPageSupportTickets用法及代碼示例
- PHP WHMCS ClientAreaPageDomainDNSManagement用法及代碼示例
- PHP WHMCS ClientAreaPageAffiliates用法及代碼示例
- PHP WHMCS ClientAreaPageViewInvoice用法及代碼示例
- PHP WHMCS ClientAreaPageProductsServices用法及代碼示例
- PHP WHMCS ClientAreaPageDomainRegisterNameservers用法及代碼示例
- PHP WHMCS ClientAreaPageUnsubscribe用法及代碼示例
- PHP WHMCS ClientAreaPageConfigureSSL用法及代碼示例
- PHP WHMCS ClientAreaPageDomainDetails用法及代碼示例
- PHP WHMCS ClientAreaPageAddonModule用法及代碼示例
- PHP WHMCS ClientAreaPageContact用法及代碼示例
- PHP WHMCS ClientAreaPageSecurity用法及代碼示例
- PHP WHMCS ClientAreaPage用法及代碼示例
- PHP WHMCS ClientChangePassword用法及代碼示例
- PHP WHMCS ClientAreaProductDetailsOutput用法及代碼示例
- PHP WHMCS ClientAreaDomainDetailsOutput用法及代碼示例
- PHP WHMCS ClientAreaPageDomainEmailForwarding用法及代碼示例
- PHP WHMCS ClientAreaPageDomainAddons用法及代碼示例
- PHP WHMCS ClientAreaPageAddFunds用法及代碼示例
- PHP WHMCS ClientAreaPageBulkDomainManagement用法及代碼示例
- PHP WHMCS ClientAreaRegister用法及代碼示例
- PHP WHMCS ClientAreaPaymentMethods用法及代碼示例
- PHP WHMCS ClientAreaPageViewWHOIS用法及代碼示例
注:本文由純淨天空篩選整理自whmcs.com大神的英文原創作品 ClientEdit。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。