WooCommerce Partial COD - Payment Gateway Restriction & Fees

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.


woopcd_partialcod/process-{group_id}-message

  • Parameters:
  • $message array()

Example Codes:

  1. function custom_process_group_id_message( $message ) {
  2.    //add your custom code here
  3.    return $message;
  4. }
  5. add_filter( 'woopcd_partialcod/process-{group_id}-message', 'custom_process_group_id_message', 10, 1 );

woopcd_partialcod/cart-notification-message

  • Parameters:
  • $notify_obj array()
  • $key string
  • $group_id string

Example Codes:

  1. function custom_cart_notification_message( $notify_obj, $key, $group_id ) {
  2.   //add your custom code here
  3.   return $notify_obj;
  4. }
  5. add_filter( 'woopcd_partialcod/cart-notification-message', 'custom_cart_notification_message', 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. ...
    • 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. ...
    • 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. ...