Advanced Partial Payment or Deposit for WooCommerce 4.0.31 has 10 actions and 25 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Advanced Partial Payment or Deposit for WooCommerce fires an action
add_action( 'apd_loaded', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Advanced Partial Payment or Deposit for WooCommerce is about to use
add_filter( 'apd_display_full_order_total', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Whether cart, checkout, order and email totals show the full order value * instead of the amount charged now. */ apply_filters( 'apd_display_full_order_total', true ); -
/** * Order statuses on which an administrator may add a deposit. */ apply_filters( 'apd_admin_order_deposit_statuses', array( 'pending', 'on-hold', 'partially-paid' ), $order ); -
/** * A cancelled order is a decision the shop made, so paying a balance must not * silently reinstate it. Opt back in only if a shop really wants that. */ apply_filters( 'apd_allow_payment_on_cancelled_order', false, $order ); -
/** * Filter the part of the outstanding balance that the next payment collects. */ apply_filters( 'apd_balance_amount_due_now', $balance, $order, $balance ); -
/** * Filter the deposit payable for a single cart line. */ apply_filters( 'apd_cart_item_deposit', $deposit, $cart_item, $line_total, $type ); -
/** * Filter the preselected payment option for a product. */ apply_filters( 'apd_default_payment_type', $default, $product_id ); -
/** * Filter the calculated deposit amount. */ apply_filters( 'apd_deposit_amount', $deposit, $product_id, $price, $type, $value ); -
/** * Filter whether deposit is enabled for a product after core rules are * applied. */ apply_filters( 'apd_deposit_enabled', $enabled, $product_id ); -
/** * Status a deposit order lands on once the balance reaches zero. */ apply_filters( 'apd_fully_paid_status', 'completed', $order ); -
/** * Fires after the plugin is fully loaded. */ do_action( 'apd_loaded' ); -
/** * Fires after an order's row in the My Account deposits table. */ do_action( 'apd_myaccount_deposits_after_row', $order, $details, 7 ); -
/** * Filter the label a chosen-amount pay button carries. */ apply_filters( 'apd_pay_balance_button_label_template', $apd_pay_template, $order ); -
do_action( 'apd_deposit_payment_complete', $order_id, $order ); -
do_action( 'woocommerce_email_header', $email_heading, $email ); -
apply_filters( 'apd_admin_tabs', $tabs ); -
apply_filters( 'apd_allow_partial_balance_payments', false, $order ); -
apply_filters( 'apd_cart_payment_summary', $summary, WC()->cart ); -
do_action( 'apd_dashboard_header_badges' ); -
apply_filters( 'apd_deposit_type', $type, $product_id ); -
apply_filters( 'apd_deposit_value', $value, $product_id, $this->get_deposit_type( $product_id ) ); -
do_action( 'apd_email_deposit_received_notification', $order_id ); -
do_action( 'apd_email_payment_complete_notification', $order_id ); -
do_action( 'apd_full_payment_complete', $order_id, $order ); -
apply_filters( 'apd_gateway_payment_meta_keys', array( '_intent_id', '_intention_status', '_stripe_intent_id', '_ppcp_paypal_order_id', ), $order ); -
do_action( 'apd_general_tab_after_intro' ); -
apply_filters( 'apd_is_balance_payment_captured', true, $order, $status ); -
apply_filters( 'apd_min_balance_payment', 0, $order, $max ); -
apply_filters( 'apd_offline_payment_methods', array( 'cod', 'bacs', 'cheque' ) ); -
apply_filters( 'apd_save_settings', $settings, $tab, $_POST ); -
apply_filters( 'apd_suppress_deposit_form', false, $product->get_id() ); -
apply_filters( "apd_tab_file_{$tab_id}", $tab_file ); -
apply_filters( 'appneck_sdk_flush_interval', $interval, $this->client->config()->api_key() ); -
apply_filters( 'appneck_sdk_privacy_policy_version', $version, $this->client->config()->api_key() ); -
apply_filters( 'appneck_sdk_reprompt_on_policy_change', true, $this->client->config()->api_key() );
Generated from Advanced Partial Payment or Deposit for WooCommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: