CereTax Native 2.0 has 2 actions and 10 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 CereTax Native fires an action
add_action( 'woocommerce_after_shipping_calculator', function() {
// Your code runs here.
}, 10, 1 );
// Change a value CereTax Native is about to use
add_filter( 'ceretax_admin_order_edit_actions', 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
-
/** * Admin AJAX actions after which an order is re-quoted with CereTax. */ apply_filters( 'ceretax_admin_order_edit_actions', array( 'woocommerce_save_order_items', 'woocommerce_calc_line_taxes', 'woocommerce_remove_order_item', 'woocommerce_add_order_fee', 'woocommerce_add_coupon_discount', 'woocommerce_remove_order_coupon', 'woocommerce_remove_order_tax', ) ); -
/** * Order statuses in which Smart Coupons has not yet debited store credit. */ apply_filters( 'ceretax_store_credit_undebited_statuses', array( 'auto-draft', 'draft', 'checkout-draft', 'pending', 'failed' ) ); -
apply_filters( 'ceretax_api_timeout', self::API_TIMEOUT ); -
apply_filters( 'ceretax_get_tax_rate_from_api', $cart_items, $cart, $checkout_data ); -
apply_filters( 'ceretax_line_items_before_calculate_tax', $line_items, $order, $address_data, $tax_status ); -
do_action( 'woocommerce_after_shipping_calculator' ); -
do_action( 'woocommerce_before_shipping_calculator' ); -
woocommerce_shipping_calculator_enable_city
filter Used by 12 plugins → Copy link Customise this hookapply_filters( 'woocommerce_shipping_calculator_enable_city', true ); -
woocommerce_shipping_calculator_enable_country
filter Used by 10 plugins → Copy link Customise this hookapply_filters( 'woocommerce_shipping_calculator_enable_country', true ); -
woocommerce_shipping_calculator_enable_postcode
filter Used by 15 plugins → Copy link Customise this hookapply_filters( 'woocommerce_shipping_calculator_enable_postcode', true ); -
woocommerce_shipping_calculator_enable_state
filter Used by 10 plugins → Copy link Customise this hookapply_filters( 'woocommerce_shipping_calculator_enable_state', true ); -
woocommerce_valid_order_statuses_for_payment
filter Used by 15 plugins → Copy link Customise this hookapply_filters( 'woocommerce_valid_order_statuses_for_payment', array( 'pending', 'failed' ), $order );
Generated from CereTax Native'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: