在管理区域中查看客户端配置文件时执行。
参数
变量 | 类型 | 注意 |
---|---|---|
userid | int | |
uuid | string | |
firstname | string | |
lastname | string | |
companyname | string | |
string | ||
address1 | string | |
address2 | string | |
city | string | |
state | string | |
postcode | string | |
country | string | |
phonenumber | string | |
password | 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 | |
groupid | int | 客户群id |
allow_sso | bool | 是否为客户端启用了单点登录? |
olddata | array | 先前联系信息的数组 |
authmodule | string | 为用户启用的 2Factor Auth 模块 |
authdata | string | 用户的 2Factor Auth 数据 |
email_verified | bool |
响应
一组键 -> 值参数,用于根据需要输出其他字段。
示例代码
<?php
add_hook('AdminClientProfileTabFields', 1, function($vars) {
return [
'Additional Field 1' => '<input type="text" name="additionalFieldOne" class="form-control input-150" />',
'Additional Field 2' => '<input type="text" name="additionalFieldTwo" class="form-control input-150" />',
];
});
相关用法
- PHP WHMCS AdminClientProfileTabFieldsSave用法及代码示例
- PHP WHMCS AdminClientServicesTabFieldsSave用法及代码示例
- PHP WHMCS AdminClientDomainsTabFieldsSave用法及代码示例
- PHP WHMCS AdminClientFileUpload用法及代码示例
- PHP WHMCS AdminClientDomainsTabFields用法及代码示例
- PHP WHMCS AdminClientServicesTabFields用法及代码示例
- PHP WHMCS AdminAreaPage用法及代码示例
- PHP WHMCS AdminAreaViewTicketPage用法及代码示例
- PHP WHMCS AdminAreaClientSummaryActionLinks用法及代码示例
- PHP WHMCS AdminHomepage用法及代码示例
- PHP WHMCS AdminPredefinedAddons用法及代码示例
- PHP WHMCS AdminAreaViewQuotePage用法及代码示例
- PHP WHMCS AdminAreaHeaderOutput用法及代码示例
- PHP WHMCS AdminSupportTicketPagePreTickets用法及代码示例
- PHP WHMCS AdminInvoicesControlsOutput用法及代码示例
- PHP WHMCS AdminLogin用法及代码示例
- PHP WHMCS AdminAreaFooterOutput用法及代码示例
- PHP WHMCS AdminAreaHeadOutput用法及代码示例
- PHP WHMCS AdminAreaClientSummaryPage用法及代码示例
- PHP WHMCS AdminAreaViewTicketPageSidebar用法及代码示例
- PHP WHMCS AdminProductConfigFields用法及代码示例
- PHP WHMCS AdminProductConfigFieldsSave用法及代码示例
- PHP WHMCS AdminLogout用法及代码示例
- PHP WHMCS AdminServiceEdit用法及代码示例
- PHP WHMCS AddonUnsuspended用法及代码示例
注:本文由纯净天空筛选整理自whmcs.com大神的英文原创作品 AdminClientProfileTabFields。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。