作為正在編輯的產品執行。
參數
變量 | 類型 | 注意 |
---|---|---|
pid | int | 正在保存的產品的 ID。 |
type | string | |
gid | int | 產品所屬的組 id |
name | string | |
description | string | |
welcomeemail | int | 歡迎郵件的id |
showdomainoptions | bool | |
stockcontrol | bool | |
qty | int | |
tax | bool | |
is_featured | bool | |
hidden | bool | |
retired | bool | |
paytype | string | |
allowqty | bool | |
recurringcycles | int | |
autoterminatedays | int | |
autoterminateemail | int | |
proratabilling | bool | |
proratadate | int | |
proratachargenextmonth | int | |
servertype | string | |
servergroup | int | |
autosetup | string | |
configoptionsupgrade | bool | |
upgradeemail | int | |
freedomain | string | |
freedomainpaymentterms | string | |
freedomaintlds | string | |
affiliatepaytype | string | |
affiliatepayamount | float | |
affiliateonetime | bool | |
subdomain | string | |
overagesenabled | bool | |
overagesdisklimit | int | |
overagesbwlimit | int | |
overagesdiskprice | float | |
overagesbwprice | float | |
configoptionX | string | int |
響應
不支持響應
示例代碼
<?php
add_hook('ProductEdit', 1, function($vars) {
// Perform hook code here...
});
相關用法
- PHP WHMCS ProductAddonDelete用法及代碼示例
- PHP WHMCS ProductDelete用法及代碼示例
- PHP WHMCS PreAutomationTask用法及代碼示例
- PHP WHMCS PreModuleRenew用法及代碼示例
- PHP WHMCS PremiumPriceOverride用法及代碼示例
- PHP WHMCS PreModuleProvisionAddOnFeature用法及代碼示例
- PHP WHMCS PreRegistrarGetDNS用法及代碼示例
- PHP WHMCS PreRegistrarGetNameservers用法及代碼示例
- PHP WHMCS PreRegistrarSaveContactDetails用法及代碼示例
- PHP WHMCS PreEmailSendReduceRecipients用法及代碼示例
- PHP WHMCS PreRegistrarRenewDomain用法及代碼示例
- PHP WHMCS PreModuleCreate用法及代碼示例
- PHP WHMCS PreFraudCheck用法及代碼示例
- PHP WHMCS PreCalculateCartTotals用法及代碼示例
- PHP WHMCS PreRegistrarTransferDomain用法及代碼示例
- PHP WHMCS PreModuleSuspendAddOnFeature用法及代碼示例
- PHP WHMCS PreRegistrarGetContactDetails用法及代碼示例
- PHP WHMCS PreUpgradeCheckout用法及代碼示例
- PHP WHMCS PreModuleChangePassword用法及代碼示例
- PHP WHMCS PreRegistrarGetEPPCode用法及代碼示例
- PHP WHMCS PreShoppingCartCheckout用法及代碼示例
- PHP WHMCS PreModuleDeprovisionAddOnFeature用法及代碼示例
- PHP WHMCS PreModuleCustom用法及代碼示例
- PHP WHMCS PreDomainRegister用法及代碼示例
- PHP WHMCS PreServiceEdit用法及代碼示例
注:本文由純淨天空篩選整理自whmcs.com大神的英文原創作品 ProductEdit。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。