TogetherPay for WooCommerce 1.0.10 has 9 actions and 8 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 TogetherPay for WooCommerce fires an action
add_action( 'woocommerce_checkout_create_order_shipping_item', function( $item, $package_key, $package, $order ) {
// Your code runs here.
}, 10, 4 );
// Change a value TogetherPay for WooCommerce is about to use
add_filter( 'woocommerce_order_hide_shipping_address', 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
-
/** * Don't send an empty shipping address object to SplitOff if shipping is not * needed. */ apply_filters( 'woocommerce_order_hide_shipping_address', array('local_pickup') ); -
woocommerce_checkout_create_order_shipping_item
action Used by 7 plugins → Copy link Customise this hook/** * Action hook to adjust item before save. */ do_action( 'woocommerce_checkout_create_order_shipping_item', $item, $package_key, $package, $order ); -
apply_filters( 'woocommerce_checkout_customer_id', get_current_user_id() ); -
do_action( 'woocommerce_checkout_update_order_meta', $order_id, $posted ); -
apply_filters( 'splitoff_html_at_checkout', $html, $order_total, $instalments ); -
apply_filters( 'splitoff_html_on_cart_page', $html ); -
apply_filters( 'splitoff_is_product_supported', true, $product, $alone ); -
do_action( 'woocommerce_add_order_fee_meta', $order_id, $item_id, $fee, $fee_key ); -
do_action( 'woocommerce_add_order_item_meta', $item_id, $cart_item, $cart_items_key ); -
do_action( 'woocommerce_add_shipping_order_item', $order_id, $item_id, $package_key ); -
woocommerce_cart_remove_taxes_zero_rate_id
filter Used by 10 plugins → Copy link Customise this hookapply_filters( 'woocommerce_cart_remove_taxes_zero_rate_id', 'zero-rated' ); -
do_action( 'woocommerce_checkout_create_order', $order, $data ); -
woocommerce_checkout_create_order_line_item
action Used by 11 plugins → Copy link Customise this hookdo_action( 'woocommerce_checkout_create_order_line_item', $item, $cart_items_key, $values, $order ); -
woocommerce_checkout_create_order_line_item_object
filter Used by 6 plugins → Copy link Customise this hookapply_filters( 'woocommerce_checkout_create_order_line_item_object', new WC_Order_Item_Product(), $cart_items_key, $values, $order ); -
do_action( 'woocommerce_checkout_order_processed', $splitoff_quote_id, $posted, $order ); -
apply_filters( 'woocommerce_default_order_status', 'pending' ); -
do_action( 'woocommerce_new_order', $order_id );
Generated from TogetherPay 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: