TaxJar 4.2.13 has 12 actions and 51 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 TaxJar fires an action
add_action( 'taxjar_after_calculate_cart_totals', function( $cart ) {
// Your code runs here.
}, 10, 1 );
// Change a value TaxJar is about to use
add_filter( 'taxjar_x_api_version', function( $value, $object ) {
// Change $value here.
return $value;
}, 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
-
/** * Fires once the cart totals calculation are done. */ do_action( 'taxjar_after_calculate_cart_totals', $this->cart ); -
/** * Filter x-api-version header */ apply_filters( 'taxjar_x_api_version', self::$x_api_version, $this ); -
apply_filters( 'taxjar_get_customer_id', $this->get_record_id(), $this->object ); -
apply_filters( 'taxjar_enabled', self::is_setting_enabled( 'enabled' ) ); -
apply_filters( 'taxjar_valid_order_statuses_for_sync', array( 'completed', 'refunded' ) ); -
apply_filters( 'taxjar_api_token_valid', $this->api_token_valid ); -
apply_filters( 'taxjar_can_connect', $this->can_connect ); -
apply_filters( 'taxjar_current_user_can_edit_customer_meta_fields', current_user_can( 'manage_woocommerce' ), $user->ID ); -
apply_filters( 'taxjar_get_order_transaction_id', $this->get_record_id(), $this->object ); -
apply_filters( 'taxjar_process_queue_interval', 20 ); -
apply_filters( 'taxjar_should_calculate_cart_tax', $should_calculate, $wc_cart_object ); -
apply_filters( 'taxjar_should_sync_customer', $record->should_sync() ); -
apply_filters( 'taxjar_should_sync_refund', $refund_record->should_sync() ); -
woocommerce_apply_base_tax_for_local_pickup
filter Used by 15 plugins → Copy link Customise this hookapply_filters( 'woocommerce_apply_base_tax_for_local_pickup', true ); -
apply_filters( 'woocommerce_local_pickup_methods', array( 'legacy_local_pickup', 'local_pickup' ) ); -
apply_filters( 'taxjar_admin_record_actions', $actions, $record ); -
do_action( 'taxjar_admin_record_actions_end', $record ); -
do_action( 'taxjar_admin_record_actions_start', $record ); -
do_action( 'taxjar_calculation_status_order_data_panel', $order->get_id(), $order ); -
apply_filters( 'taxjar_cart_exemption_type', '', $this->cart ); -
do_action( 'taxjar_customer_exemption_settings_updated', $user_id ); -
apply_filters( 'taxjar_customer_meta_fields', array( 'exemptions' => array( 'title' => __( 'TaxJar Sales Tax Exemptions', 'wc-taxjar' ), 'fields' => array( 'tax_exemption_type' => array( 'label' => __( 'Exemption Type', 'wc-taxjar' ), 'description' => __( 'All customers are presumed non-exempt unless otherwise selected.', 'wc-taxjar' ), 'class' => '', 'type' => 'select', 'options' => array( '' => __( 'Non-Exempt', 'wc-taxjar' ) ) + self::g... ); -
apply_filters( 'taxjar_customer_sync_data', $customer_data, $this->object ); -
do_action( 'taxjar_customer_sync_log', $message ); -
apply_filters( 'taxjar_download_orders', $value ); -
apply_filters( "taxjar_get_{static::get_record_type()}_provider", 'woo', $this->object, $this ); -
apply_filters( 'taxjar_get_product_tax_code', $tax_code, $tax_class ); -
apply_filters( 'taxjar_get_refund_transaction_id', $this->get_record_id(), $this->object ); -
do_action( 'taxjar_installed' ); -
do_action( 'taxjar_log', $message ); -
apply_filters( 'taxjar_method_description', __( 'TaxJar is the easiest to use sales tax calculation and reporting engine for WooCommerce. Connect your TaxJar account and enter the city and zip code from which your store ships. Enable TaxJar calculations to automatically collect sales tax at checkout. You may also enable sales tax reporting to begin importing transactions from this store into your TaxJar account, all in one click!<br><br>... ); -
apply_filters( 'taxjar_nexus_check', $has_nexus, $country, $state, $nexus_areas ); -
apply_filters( 'taxjar_order_calculation_exemption_type', '', $this->order ); -
do_action( 'taxjar_order_data_panels', $order->get_id(), $order ); -
apply_filters( 'taxjar_order_data_tabs', array( 'calculation_status' => array( 'label' => __( 'Calculation Status', 'taxjar' ), 'target' => 'calculation_status_order_data', 'class' => '', ), 'sync_status' => array( 'label' => __( 'Sync Status', 'taxjar' ), 'target' => 'sync_status_order_data', 'class' => '', ), ) ); -
apply_filters( 'taxjar_order_sync_data', $order_data, $this->object ); -
apply_filters( 'taxjar_order_sync_exemption_type', '', $this->object ); -
apply_filters( 'taxjar_order_sync_get_line_items', array_merge( $line_items_data, $fees ), $this->object ); -
apply_filters( 'taxjar_order_total_amount', $amount, $this->object ); -
apply_filters( 'taxjar_queue_list_per_page', 20 ); -
apply_filters( 'taxjar_record_batch_size', 50 ); -
apply_filters( 'taxjar_record_status_dropdown', array( 'awaiting' => _x( 'Awaiting', 'A sync status', 'wc-taxjar' ), 'completed' => _x( 'Completed', 'A sync status', 'wc-taxjar' ), 'failed' => _x( 'Failed', 'A sync status', 'wc-taxjar' ), ) ); -
apply_filters( 'taxjar_record_type_dropdown', array( 'order' => _x( 'Orders', 'A record type', 'wc-taxjar' ), 'refund' => _x( 'Refunds', 'A record type', 'wc-taxjar' ), 'customer' => _x( 'Customers', 'A record type', 'wc-taxjar' ), ) ); -
apply_filters( 'taxjar_refund_sync_data', $refund_data, $this->object, $order ); -
apply_filters( 'taxjar_refund_sync_exemption_type', '', $this->object ); -
apply_filters( 'taxjar_should_calculate_order_tax', true, $this->order ); -
apply_filters( 'taxjar_should_check_status', true ); -
apply_filters( 'taxjar_should_display_connect_notice', true ); -
apply_filters( "taxjar_should_sync_{static::get_record_type()}", $this->should_sync() ); -
apply_filters( 'taxjar_should_sync_order', $record->should_sync() ); -
apply_filters( 'taxjar_should_validate_order_completed_date', $default_value ); -
apply_filters( 'taxjar_store_settings', $store_settings, self::get_taxjar_settings() ); -
apply_filters( 'taxjar_sync_allowed_countries', array ( 'US' ) ); -
apply_filters( 'taxjar_sync_allowed_currencies', array ( 'USD' ) ); -
do_action( 'taxjar_sync_status_order_data_panel', $order->get_id(), $order ); -
apply_filters( 'taxjar_tax_request_body', $request_body, $this ); -
do_action( 'taxjar_transaction_sync_log', $message ); -
do_action( 'taxjar_updated' ); -
apply_filters( 'taxjar_valid_post_statuses_for_sync', array( 'wc-completed', 'wc-refunded' ) ); -
apply_filters( 'woocommerce_customer_taxable_address', array( $country, $state, $postcode, $city, $street ), WC()->customer ); -
apply_filters( "woocommerce_get_sections_{self::$id}", $sections ); -
apply_filters( "woocommerce_get_settings_{self::$id}", $settings ); -
apply_filters( 'woocommerce_order_is_vat_exempt', $vat_exemption, $this->order );
Generated from TaxJar'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: