Vanquish Deposits 1.3.1 has 27 actions and 28 filters, read directly from its source code on Nov 19, 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 Vanquish Deposits fires an action
add_action( 'vandp_settings_saved', function( $new, $old ) {
// Your code runs here.
}, 10, 2 );
// Change a value Vanquish Deposits is about to use
add_filter( 'vandp_text', function( $default, $key ) {
// Change $default here.
return $default;
}, 10, 2 );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
-
/** * Settings saved. */ do_action( 'vandp_settings_saved', $new, $old ); -
/** * A customer-facing text (Premium: the merchant's wording per language). */ apply_filters( 'vandp_text', $default, $key ); -
/** * This action is documented in * woocommerce/templates/emails/plain/customer-processing-order.php. */ do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email ); -
/** * What the cart pays today and later (Premium: shipping in the deposit or in * the last payment; plans with nothing at checkout). */ apply_filters( 'vandp_cart_summary', $out, $cart ); -
/** * More fields under the category's Deposit choice (for extensions). */ do_action( 'vandp_category_field_after', $count >= 0 ? self::$term_id : 0 ); -
/** * The choice shown as selected for the category: default, store, custom, none, * or Premium's "plan:<id>" when the category has a saved plan. */ apply_filters( 'vandp_category_mode', $value['mode'], (int) $term_id ); -
/** * Premium adds the saved payment plans to the choices ("plan:<id>"). */ do_action( 'vandp_category_modes', (int) $term_id, $mode ); -
/** * What comes after "today" (Premium: "then 2 more payments · See payment * plan"). Null keeps "€X later, when your order is ready.". */ apply_filters( 'vandp_choice_later_html', null, $rule, $amounts, $product ); -
/** * What the "Deposits are on for…" box counts (Premium adds the products and * categories with a payment plan). */ apply_filters( 'vandp_coverage', array( 'on' => $on, 'off' => $off, 'categories' => $categories, 'singles' => $singles, ) ); -
/** * Filters the deposit rule of a product. */ apply_filters( 'vandp_deposit_rule', $rule, $product ); -
/** * Lines of the "Due today" box per kind of payment method (Premium adds the * saved-card consent to "card"). */ apply_filters( 'vandp_due_box_texts', $texts, $amount ); -
/** * What "Use the default" gives the product (Premium: a category's payment * plan, with "text" saying so). */ apply_filters( 'vandp_inherited_rule', Rules::inherited( $product ), $product ); -
/** * Rows added to the totals of a PDF invoice. */ apply_filters( 'vandp_invoice_rows', $rows, $order ); -
/** * Other actions of the order box (Premium: "Retry charge"). */ apply_filters( 'vandp_order_box_action', new \WP_Error( 'vandp_unknown', __( 'Unknown action.', 'vanquish-deposits-for-woocommerce' ) ), $do, $payment, $order ); -
/** * The order's payment state changed (emails: deposit received, fully paid…). */ do_action( 'vandp_order_payment_state_changed', $order, $previous, $state ); -
/** * Whether "Pay early" is offered for an order (an approval workflow turns it * off until the order is approved). */ apply_filters( 'vandp_pay_early_allowed', self::is_on( 'pay_early' ), $order ); -
/** * An already requested payment changed amount (sends "Balance changed"). */ do_action( 'vandp_payment_amount_changed', $payment, $before[ $payment->get_id() ], $order ); -
/** * A payment of a new schedule was created (Premium stores when it starts). */ do_action( 'vandp_payment_created', $payment, $entry, $order ); -
/** * A payment was marked as paid by the merchant (optional receipt email). */ do_action( 'vandp_payment_marked_paid', $paid, isset( $parts[1] ) ? $parts[1] : null ); -
/** * Kind of a payment method for the checkout texts. */ apply_filters( 'vandp_payment_method_kind', $kind, $gateway_id ); -
/** * The number of a payment, as gateways and screens show it. */ apply_filters( 'vandp_payment_order_number', $parent->get_order_number() . '-' . $slug, $this ); -
/** * A payment was paid (online, marked as paid, transfer confirmed). */ do_action( 'vandp_payment_paid', $order, wc_get_order( $parent->get_id() ) ); -
/** * A payment was requested (sends "Payment requested"). */ do_action( 'vandp_payment_requested', $payment, $order, $is_resend ); -
/** * A requested payment was withdrawn (sends "Payment request withdrawn"). */ do_action( 'vandp_payment_withdrawn', $payment ); -
/** * The choice shown as selected in the Deposit tab: default, custom, none, or * Premium's "plan" when the product has a saved plan. */ apply_filters( 'vandp_product_mode', $value['mode'], $product ); -
/** * Premium adds "Payment plan" (a saved plan) to the choices. */ do_action( 'vandp_product_modes', $product, $mode ); -
/** * More fields at the end of the Deposit tab (for extensions). */ do_action( 'vandp_product_tab_after', $product ); -
/** * Collect a payment another way than the request email (Premium: charge the * saved card). Return null to send the request. */ apply_filters( 'vandp_request_collect', null, $payment, map_deep( wp_unslash( $_POST ), 'sanitize_textarea_field' ) ); -
/** * The payment to request (Premium: only part of it, splitting off the rest). */ apply_filters( 'vandp_request_payment', $payment, map_deep( wp_unslash( $_POST ), 'sanitize_textarea_field' ) ); -
/** * Actions of a payment in the Payment schedule box. */ apply_filters( 'vandp_schedule_box_actions', $out, $payment, $p['state'], $order ); -
/** * Premium adds the schedule editor here. */ do_action( 'vandp_schedule_box_after', $order ); -
/** * Premium adds "Split into payments" here. */ do_action( 'vandp_schedule_box_without_schedule', $order ); -
/** * The amounts of the payments (Premium moves shipping and fees into the first * or the last one). */ apply_filters( 'vandp_schedule_parts', $parts, $order, $plan ); -
/** * Fires after the order's copy of its payment schedule was brought up to date. */ do_action( 'vandp_schedule_synced', $order, $state ); -
/** * The payments of a new order: deposit + balance, or Premium's plan. Return an * empty array for no schedule. */ apply_filters( 'vandp_schedule_template', ( $share >= 1.0 || $share <= 0.0 ) ? array() : Schedule::deposit_plan( $share ), $order, $share ); -
/** * Line under "Not requested" (Premium: when the payment starts). */ apply_filters( 'vandp_scheduled_note_admin', $sub, $payment ); -
/** * When a payment not requested yet is due, for customers (Premium: "when your * order is "Shipped"", "on 21 October"). */ apply_filters( 'vandp_scheduled_note_customer', $later, $payment ); -
/** * Settings about to be saved (Premium adds its own keys). */ apply_filters( 'vandp_settings_before_save', $new, $in ); -
/** * Premium draws "Who can pay a deposit" here; the free build a preview of it. */ do_action( 'vandp_settings_general_rules' ); -
/** * Saves a Premium section. */ do_action( "vandp_settings_save_{$current_section}" ); -
/** * Premium draws the saved-cards setting here. */ do_action( 'vandp_settings_saved_cards' ); -
/** * Draws a Premium section. Without Premium, ProTeasers shows a preview. */ do_action( "vandp_settings_section_{$current_section}" ); -
/** * Sections of the Deposits settings tab (Premium fills them). */ apply_filters( 'vandp_settings_sections', $sections ); -
/** * Order statuses that mean "waiting for money", which the schedule may move on * (an integration adds e.g. an accepted quote's status). */ apply_filters( 'vandp_waiting_statuses', array( 'pending', 'failed', 'on-hold', Statuses::PARTIAL ), $order ); -
/** * This action is documented in woocommerce/templates/emails/email-header.php. */ do_action( 'woocommerce_email_header', $email_heading, $email ); -
woocommerce_no_available_payment_methods_message
filter Used by 43 plugins → Copy link Customise this hook/** * This filter is documented in woocommerce/templates/checkout/form-pay.php. */ apply_filters( 'woocommerce_no_available_payment_methods_message', esc_html__( 'Sorry, there are no payment methods available. Please contact us.', 'vanquish-deposits-for-woocommerce' ) ); -
/** * This action is documented in woocommerce/templates/checkout/form-pay.php. */ do_action( 'woocommerce_pay_order_before_payment' ); -
/** * This filter is documented in woocommerce/templates/checkout/form-pay.php. */ apply_filters( 'woocommerce_pay_order_button_html', '<button type="submit" class="button alt' . esc_attr( wc_wp_theme_get_element_class_name( 'button' ) ? ' ' . wc_wp_theme_get_element_class_name( 'button' ) : '' ) . '" id="place_order" value="' . esc_attr( $order_button_text ) . '" data-value="' . esc_attr( $order_button_text ) . '">' . esc_html( $order_button_text ) . '</button>' ); -
/** * This filter is documented in woocommerce/includes/class-wc-checkout.php. */ apply_filters( 'woocommerce_payment_successful_result', $result, $first->get_id() ); -
do_action( 'vandp_fs_loaded' ); -
do_action( 'vandp_request_dialog_fields', $order ); -
do_action( 'woocommerce_pay_order_after_submit' ); -
do_action( 'woocommerce_pay_order_before_submit' );
Generated from Vanquish Deposits'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: