ShipPilot for WooCommerce 1.2.0 has 7 actions and 7 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 ShipPilot for WooCommerce fires an action
add_action( 'shipfowo_stage_email_failed', function( $order, $stage, $data ) {
// Your code runs here.
}, 10, 3 );
// Change a value ShipPilot for WooCommerce is about to use
add_filter( 'shipfowo_should_send_stage_email', function( $value, $order, $stage, $data ) {
// Change $value here.
return $value;
}, 10, 4 );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
-
/** * Filters whether a ShipPilot shipment-stage email should be sent. */ apply_filters( 'shipfowo_should_send_stage_email', true, $order, $stage, $data ); -
/** * Filters the ShipPilot shipment-stage email plain body. */ apply_filters( 'shipfowo_stage_email_body', $plain_body, $order, $stage, $data ); -
/** * Fires when a ShipPilot shipment-stage email cannot be sent. */ do_action( 'shipfowo_stage_email_failed', $order, $stage, $data ); -
/** * Filters the ShipPilot shipment-stage email headers. */ apply_filters( 'shipfowo_stage_email_headers', $headers, $order, $stage, $data ); -
/** * Fires after a ShipPilot shipment-stage email is sent. */ do_action( 'shipfowo_stage_email_sent', $order, $stage, $data, $recipient ); -
/** * Filters the ShipPilot shipment-stage email subject. */ apply_filters( 'shipfowo_stage_email_subject', $subject, $order, $stage, $data ); -
/** * Filters the ShipPilot shipment-stage email template name. */ apply_filters( 'shipfowo_stage_email_template', 'emails/shipment-status.php', $order, $stage, $data ); -
/** * Filters data passed to the ShipPilot HTML email template. */ apply_filters( 'shipfowo_stage_email_template_args', $template_args, $order, $stage, $data ); -
/** * Filters replacement variables used in shipment-stage emails. */ apply_filters( 'shipfowo_stage_email_variables', $variables, $order, $stage, $data ); -
/** * Outputs billing and shipping customer details. */ do_action( 'woocommerce_email_customer_details', $order, false, false, $email ); -
/** * Template variables. */ do_action( 'woocommerce_email_header', $email_heading, $email ); -
/** * Outputs the WooCommerce order table. */ do_action( 'woocommerce_email_order_details', $order, false, false, $email ); -
/** * Outputs order metadata. */ do_action( 'woocommerce_email_order_meta', $order, false, false, $email );
Generated from ShipPilot 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: