在通过客户区、管理区或 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。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。
