Gateway Fees - Filter Hook References
This is simply a list of gateway fee-related filter hooks that can be found within the WooCommerce Partial COD - Payment Gateway Restrictions & Fees files. This list also includes the supported parameters and example codes.
woopcd_partialcod/fee-amount
- Parameters:
- $fee_amount numeric
- $fee_key string
- $fee array()
Example Codes:
- function custom_fee_amount( $fee_amount, $fee_key, $fee ) {
- //add your custom code here
- return $fee_amount;
- }
- add_filter( 'woopcd_partialcod/fee-amount', 'custom_fee_amount', 10, 3 );
woopcd_partialcod/fee-amount-taxes
- Parameters:
- $fee_taxes array()
- $fee_key string
- $fee array()
Example Codes:
- function custom_fee_amount_taxes( $fee_taxes, $fee_key, $fee ) {
- //add your custom code here
- return $fee_taxes;
- }
- add_filter( 'woopcd_partialcod/fee-amount-taxes', 'custom_fee_amount_taxes', 10, 3 );
woopcd_partialcod/fee-amount-tax
- Parameters:
- $fee_amount_tax numeric
- $fee_key string
- $fee array()
Example Codes:
- function custom_fee_amount_tax( $fee_amount_tax, $fee_key, $fee ) {
- //add your custom code here
- return $fee_amount_tax;
- }
- add_filter( 'woopcd_partialcod/fee-amount-tax', 'custom_fee_amount_tax', 10, 3 );
woopcd_partialcod/fee-desc
- Parameters:
- $fee_desc string
- $fee_key string
- $fee array()
Example Codes:
- function custom_fee_desc( $fee_desc, $fee_key, $fee ) {
- //add your custom code here
- return $fee_desc;
- }
- add_filter( 'woopcd_partialcod/fee-desc', 'custom_fee_desc', 10, 3 );
woopcd_partialcod/fee-title
- Parameters:
- $fee_title string
- $fee_key string
- $fee array()
Example Codes:
- function custom_fee_title( $fee_title, $fee_key, $fee ) {
- //add your custom code here
- return $fee_title;
- }
- add_filter( 'woopcd_partialcod/fee-title', 'custom_fee_title', 10, 3 );
Related Articles
Partial Payment Amounts - Filter Hook References
This is simply a list of partial payment amount-related filter hooks that can be found within the WooCommerce Partial COD - Payment Gateway Restrictions & Fees files. This list also includes the supported parameters and example codes. ...
Cart Discounts - Filter Hook References
This is simply a list of cart discount-related filter hooks that can be found within the WooCommerce Partial COD - Payment Gateway Restrictions & Fees files. This list also includes the supported parameters and example codes. ...
Settings & Restrictions - Filter Hook References
This is simply a list of settings & restrictions-related filter hooks that can be found within the WooCommerce Partial COD - Payment Gateway Restrictions & Fees files. This list also includes the supported parameters and example codes. ...
Partial Payments - Filter Hook References
This is simply a list of partial payment-related filter hooks that can be found within the WooCommerce Partial COD - Payment Gateway Restrictions & Fees files. This list also includes the supported parameters and example codes. ...
Cart Notifications - Filter Hook References
This is simply a list of cart notification-related filter hooks that can be found within the WooCommerce Partial COD - Payment Gateway Restrictions & Fees files. This list also includes the supported parameters and example codes. ...