Bolt Checkout for WooCommerce 2.23.1 has 31 actions and 97 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 Bolt Checkout for WooCommerce fires an action
add_action( 'wc_bolt_after_set_cart_by_bolt_reference', function( $reference, $original_session_data ) {
// Your code runs here.
}, 10, 2 );
// Change a value Bolt Checkout for WooCommerce is about to use
add_filter( 'wc_bolt_set_priority_for_html_hooks', 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
-
apply_filters( 'wc_bolt_set_priority_for_html_hooks', BOLT_PRIORITY_FOR_HTML_HOOKS_CHANGED ); -
apply_filters( 'woocommerce_cookie', 'wp_woocommerce_session_' . COOKIEHASH ); -
apply_filters( 'formatted_woocommerce_price', number_format( $original_price, $decimals, $decimal_separator, $thousand_separator ), $original_price, $decimals, $decimal_separator, $thousand_separator, $original_price ); -
apply_filters( 'wc_bolt_after_load_shipping_options', $shipping_options, $bolt_order ); -
do_action( 'wc_bolt_after_set_cart_by_bolt_reference', $reference, $original_session_data ); -
apply_filters( 'wc_bolt_before_load_shipping_options', array(), $bolt_order, $this->error_handler ); -
do_action( 'wc_bolt_before_set_cart_by_bolt_reference', $reference, $original_session_data ); -
apply_filters( 'wc_bolt_buttons_need_mutually_exclusive', $buttons_need_mutually_exclusive, $is_subscription_cart, 'minicart' ); -
apply_filters( 'wc_bolt_cart_shipping_total', convert_monetary_value_to_bolt_format( $shipping_total ), static::$bolt_transaction, $this->error_handler ); -
apply_filters( 'wc_bolt_filter_product_page_subscription_button_js_params', array( 'location' => 'product_page', 'subscription_selector' => $subscription_selector_html, 'subscription_purchasable' => $dummy_product->is_type( 'variable' ) ? false : true, 'subscription_product_id' => $product_id, 'ui_override_enabled' => $ui_override_enabled, 'subscription_plans_details_field' => $subscription_plans_details_field, ) ); -
apply_filters( 'wc_bolt_if_enable_shipping_cache', true ); -
apply_filters( 'wc_bolt_if_enable_tax_cache', true ); -
apply_filters( 'wc_bolt_is_show_on_cart_page', $if_show_on_cart_page, $gateways ); -
apply_filters( 'wc_bolt_is_show_on_checkout_page', $if_show_on_checkout_page, $gateways ); -
apply_filters( 'wc_bolt_is_show_on_mini_cart', $if_show_on_mini_cart, $gateways ); -
apply_filters( 'wc_bolt_is_show_on_single_product_page', $if_show_on_single_product_page, $type, $gateways ); -
apply_filters( 'wc_bolt_loading_shipping_option', (object) array( BOLT_CART_SHIPMENT_SERVICE => html_entity_decode( $shipping_method->get_label(), ENT_QUOTES, 'UTF-8' ), BOLT_CART_SHIPMENT_COST => convert_monetary_value_to_bolt_format( $shipping_method->get_cost() ), BOLT_CART_SHIPMENT_REFERENCE => (string) $method_key, BOLT_CART_SHIPMENT_TAX_AMOUNT => $this->tax_calculation[ $method_key ], ), $method_key, $shipping_method, $bolt_order ); -
apply_filters( 'wc_bolt_order_creation_hint_data', array() ); -
apply_filters( 'wc_bolt_shipping_validation', $bolt_order ); -
do_action( 'wc_bolt_shippingtax_after_set_customer_shipping_address', $shipping_address_data, $bolt_order->cart->order_reference ); -
apply_filters( 'wc_bolt_tax_calculation', $this->tax_calculation, $shipping_methods ); -
apply_filters( 'wc_session_expiration', 60 * 60 * 48 ); -
apply_filters( 'wc_session_expiring', 60 * 60 * 47 ); -
woocommerce_checkout_no_payment_needed_redirect
filter Used by 9 plugins β Copy link Customise this hookapply_filters( 'woocommerce_checkout_no_payment_needed_redirect', $order->get_checkout_order_received_url(), $order ); -
apply_filters( 'woocommerce_get_cart_item_from_session', $session_data, $values, $key ); -
apply_filters( 'bolt_email_enter_event_callback', $bolt_on_email_enter ); -
apply_filters( 'bolt_email_enter_event_third_party_callback', $bolt_on_email_enter, $bolt_settings, $order_details ); -
do_action( 'bolt_payment_checkout', $this ); -
apply_filters( 'bolt_woocommerce_is_taxjar_enabled', class_exists( 'WC_Taxjar_Integration' ) ); -
apply_filters( 'bolt_woocommerce_is_wc_google_analytics_pro_enabled', function_exists( 'wc_google_analytics_pro' ) ); -
apply_filters( 'bolt_woocommerce_is_wp_rocket_enabled', class_exists( '\WP_Rocket\Plugin' ) ); -
apply_filters( 'bypass_bolt_apply_cart_items_subscription_discount', false ); -
apply_filters( 'bypass_bolt_restrict_cart_contents_if_new_item_added', false ); -
apply_filters( 'bypass_bolt_save_subscription_data_to_cart_item', false ); -
apply_filters( 'plugin_locale', get_locale(), 'bolt-checkout-woocommerce' ); -
apply_filters( 'wc_bolt_account_js_params', array( 'account_js_url' => $account_js_url, 'bolt_key' => $bolt_key, ) ); -
apply_filters( 'wc_bolt_add_third_party_discounts_to_cart', null, $discount_code ); -
apply_filters( 'wc_bolt_add_third_party_discounts_to_cart_from_discount_hook', array(), $this->api_request->discount_code ); -
do_action( 'wc_bolt_after_build_cart', $type, $order_id, $bolt_cart ); -
do_action( 'wc_bolt_after_calculate_shipping_tax', $this->tax_calculation, $shipping_methods ); -
do_action( 'wc_bolt_after_load_cart_from_native_wc_session', $customer_id, $reference ); -
apply_filters( 'wc_bolt_after_load_tax', $tax_result, $this->decode_request_payload ); -
do_action( 'wc_bolt_after_update_cart_session', $type, $order_id, $data ); -
do_action( 'wc_bolt_before_build_cart', $type, $order_id ); -
do_action( 'wc_bolt_before_calculate_shipping_tax', $shipping_methods ); -
do_action( 'wc_bolt_before_calculate_tax', $decode_request_payload, $this->error_handler ); -
do_action( 'wc_bolt_before_load_cart_from_native_wc_session', $customer_id, $reference ); -
do_action( 'wc_bolt_before_ppc_check_callback' ); -
do_action( 'wc_bolt_before_ppc_variation_form_set_bolt_items', $parent_id ); -
do_action( 'wc_bolt_before_ppc_variation_show_variation_event', $parent_id ); -
do_action( 'wc_bolt_before_ppc_verify_purchasable', $product_id ); -
do_action( 'wc_bolt_before_recompute_subscription_order_totals', $subscription, $this->decode_request_payload ); -
do_action( 'wc_bolt_before_show_cart_item_subscription_original_price', $price, $cart_item, $cart_item_key ); -
do_action( 'wc_bolt_before_subscription_redirect', $subscription_product_id ); -
do_action( 'wc_bolt_before_update_cart_session', $type, $order_id ); -
do_action( 'wc_bolt_before_update_session_in_checkout', $posted_data, $shipping_methods ); -
apply_filters( 'wc_bolt_calculate_tax_per_each_option', false ); -
apply_filters( 'wc_bolt_cart_discount_total', convert_monetary_value_to_bolt_format( $cart_discount_total ), static::$bolt_transaction, $this->error_handler ); -
apply_filters( 'wc_bolt_cart_js_params', array( 'json_cart' => $params['bolt_response']['json_cart'], 'json_hints' => $params['bolt_response']['json_hints'], 'cart_availability' => $params['bolt_response']['cart_availability'] ? 'true' : 'false', 'check' => $check, 'check_return' => $params['check_return'] ?: 'true', 'success' => $success, 'close' => htmlspecialchars_decode( $bolt_settings[ Bolt_Settings::SETTING_NAME_JAVASCRIPT_CLOSE... ); -
apply_filters( 'wc_bolt_cart_tax_total', convert_monetary_value_to_bolt_format( WC()->cart->get_total_tax() ), static::$bolt_transaction, $this->error_handler ); -
apply_filters( 'wc_bolt_cart_total', convert_monetary_value_to_bolt_format( WC()->cart->get_total( 'float' ) ), static::$bolt_transaction, $this->error_handler ); -
apply_filters( 'wc_bolt_checkout_tracking_do_not_track', $do_not_track, $ajax_event, $user_id ); -
apply_filters( 'wc_bolt_checkout_tracking_product_details_data', array( 'id' => $this->get_product_identifier( $product ), 'name' => $product->get_title(), 'category' => $this->get_category_hierarchy( $product ), 'variant' => $this->get_product_variation_attributes( $product ), 'price' => $product->get_price(), 'quantity' => $quantity, 'position' => isset( $woocommerce_loop['loop'] ) ? $woocommerce_loop['loop'] : '', ), $product ); -
do_action( 'wc_bolt_execute_order_creation_hooks' ); -
apply_filters( 'wc_bolt_filter_product_page_button_js_params', array( 'product' => $dummy_product, 'reference' => $reference, 'price' => $price, 'name' => $name, 'parent_name' => $parent_name, 'parent_id' => $product_id, 'additional_javascript' => $additional_javascript, 'wc_product_is_purchasable' => $wc_product_is_purchasable, 'currency' => get_woocommerce_currency(), 'currency_divider' => get_currency_divider(), 'is_enable_ppc' => true, ) ); -
apply_filters( 'wc_bolt_filter_product_page_ppc_button_js_params', array( 'checkoutButtonClassName' => 'bolt-page-checkout-button', 'json_hints' => $json_hints, 'check' => $check, 'success' => $success, 'close' => $close, 'oncheckoutstart' => $oncheckoutstart, 'onshippingdetailscomplete' => $onshippingdetailscomplete, 'onshippingoptionscomplete' => $onshippingoptionscomplete, 'onpaymentsubmit' => $onpaymentsubmit, 'onemailenter' => $onemailenter, 'currency' =>... ); -
apply_filters( 'wc_bolt_get_custom_subscription_discount', array(), $cart_contents ); -
apply_filters( 'wc_bolt_get_shipping_methods_tax_status', $shipping_methods_tax_statuses ); -
apply_filters( 'wc_bolt_get_third_party_discounts_cart', $discounts, $applied_discounts_code ); -
apply_filters( 'wc_bolt_get_third_party_discounts_order', $discounts, $order ); -
apply_filters( 'wc_bolt_if_enable_shipping_tax_cache', true ); -
apply_filters( 'wc_bolt_is_bolt_rest_api_request', ( false !== strpos( esc_url_raw($_SERVER['REQUEST_URI']), $rest_prefix . 'bolt/' ) ) ); -
apply_filters( 'wc_bolt_is_cart_page', $is_cart_page ); -
apply_filters( 'wc_bolt_is_checkout_page', $is_checkout_page ); -
apply_filters( 'wc_bolt_is_coupon_negative_fee', false, $this->api_request ); -
apply_filters( 'wc_bolt_is_eliminated_from_current_page', $condition ); -
apply_filters( 'wc_bolt_is_paid', ( ! empty( $transaction_id ) || ! empty( $transaction_order ) ), $order->get_id() ); -
apply_filters( 'wc_bolt_is_pay_exist_order', $is_pay_exist_order ); -
apply_filters( 'wc_bolt_is_product_available', $product_available, $post ); -
apply_filters( 'wc_bolt_is_subscriptions_api_request', ( false !== strpos( esc_url_raw($_SERVER['REQUEST_URI']), $rest_prefix . 'bolt/subscriptions' ) ) ); -
apply_filters( 'wc_bolt_is_update_cart_api_request', ( false !== strpos( esc_url_raw($_SERVER['REQUEST_URI']), $rest_prefix . 'bolt/update-cart' ) ) ); -
apply_filters( 'wc_bolt_order_creation_cart_data', $bolt_cart ); -
apply_filters( 'wc_bolt_parameters_on_checkout_page', $parameters ); -
apply_filters( 'wc_bolt_postpone_order_creation_hooks', array( array( 'hook_name' => 'woocommerce_new_order', 'class_name' => 'WC_Webhook', ), array( 'hook_name' => 'woocommerce_update_order', 'class_name' => 'WC_Webhook', ), ) ); -
do_action( 'wc_bolt_ppc_js_contents', $parent_id ); -
apply_filters( 'wc_bolt_pre_is_show_on_cart_page', $if_show_on_cart_page, $gateways ); -
apply_filters( 'wc_bolt_pre_is_show_on_checkout_page', $if_show_on_checkout_page, $gateways ); -
apply_filters( 'wc_bolt_pre_is_show_on_mini_cart', $if_show_on_mini_cart, $gateways ); -
apply_filters( 'wc_bolt_pre_is_show_on_single_product_page', $if_show_on_single_product_page, $gateways ); -
do_action( 'wc_bolt_presetup_set_cart_by_bolt_reference', $reference, $original_session_data ); -
apply_filters( 'wc_bolt_price_difference_recalculation_in_order', ( $this->order_created->get_total() - $this->get_bolt_order_total() ), $this->order_created, static::$bolt_transaction ); -
do_action( 'wc_bolt_process_payment', $order ); -
apply_filters( 'wc_bolt_remove_coupon_from_cart', false, $discount_code ); -
apply_filters( 'wc_bolt_save_custom_checkboxes', $checkboxes, $order_id ); -
apply_filters( 'wc_bolt_save_custom_fields', $custom_fields, $order_id ); -
apply_filters( 'wc_bolt_set_checkout_address_data', array( WC_BILLING_ADDRESS_1 => '', WC_BILLING_ADDRESS_2 => '', WC_BILLING_FIRST_NAME => '', WC_BILLING_LAST_NAME => '', WC_BILLING_CITY => '', WC_BILLING_STATE => '', WC_BILLING_POSTCODE => '', WC_BILLING_COUNTRY => '', WC_BILLING_PHONE => '', WC_BILLING_EMAIL => '', WC_SHIPPING_ADDRESS_1 => '', WC_SHIPPING_ADDRESS_2 => '', WC_SHIPPING_FIRST_NAME => '', WC_SHIPPING_LAST_NAME => '', WC_SHIPPING_... ); -
do_action( 'wc_bolt_shipping_tax_before_restore_cart_session', $decode_request_payload ); -
apply_filters( 'wc_bolt_should_postpone_order_creation_hooks', false ); -
apply_filters( 'wc_bolt_subscription_order_source_cart_item', $cart_item, $this->decode_request_payload ); -
apply_filters( 'wc_bolt_template_path', WC_BOLT_CHECKOUT_PLUGIN_DIR_VIEW . '/' . $template_name, $template_name ); -
apply_filters( 'wc_bolt_update_cart_endpoint_add_item', false, $item, $this->request, $this->error_handler ); -
apply_filters( 'wc_bolt_update_cart_endpoint_remove_item', false, $item, $this->request, $this->error_handler ); -
apply_filters( 'wc_bolt_update_cart_session', $data, $type, $order_id ); -
apply_filters( 'wc_bolt_update_checkout_api_response', $api_response ); -
apply_filters( 'woocommerce_add_to_cart_validation', true, $product_id, $quantity, $variation_id, $variation ); -
apply_filters( 'woocommerce_ajax_variation_threshold', 30, $product ); -
woocommerce_apply_with_individual_use_coupon
filter Used by 5 plugins β Copy link Customise this hookapply_filters( 'woocommerce_apply_with_individual_use_coupon', false, $coupon, $applied_coupon, $this->object->get_applied_coupons() ); -
do_action( 'woocommerce_before_checkout_process' ); -
apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key ); -
do_action( 'woocommerce_cart_loaded_from_session', WC()->cart ); -
do_action( 'woocommerce_checkout_order_processed', static::$order_id, static::$posted_data, $order ); -
do_action( 'woocommerce_checkout_process' ); -
woocommerce_checkout_registration_required
filter Used by 5 plugins β Copy link Customise this hookapply_filters( 'woocommerce_checkout_registration_required', 'yes' !== get_option( 'woocommerce_enable_guest_checkout' ) ); -
apply_filters( 'woocommerce_coupon_is_valid', true, $coupon, $this ); -
apply_filters( 'woocommerce_gateway_icon', $icon, $this->id ); -
apply_filters( 'woocommerce_get_item_data', $variation_data, $line_item ); -
apply_filters( 'woocommerce_is_checkout', false ); -
apply_filters( 'woocommerce_local_pickup_methods', array( 'legacy_local_pickup', 'local_pickup', ) ); -
do_action( 'woocommerce_order_status_pending', static::$order_id, $order ); -
woocommerce_payment_complete_order_status
filter Used by 23 plugins β Copy link Customise this hookapply_filters( 'woocommerce_payment_complete_order_status', $order->needs_processing() ? WC_ORDER_STATUS_PROCESSING : WC_ORDER_STATUS_COMPLETED, $order->get_id(), $order ); -
apply_filters( 'woocommerce_payment_successful_result', $result, $order_id ); -
apply_filters( 'woocommerce_register_post_type_subscription', array( 'label' => __( 'Bolt Subscription Order', 'bolt-checkout-woocommerce' ), 'description' => __( 'This is where Bolt subscription order are stored.', 'bolt-checkout-woocommerce' ), 'public' => false, 'show_ui' => true, 'capability_type' => 'shop_order', 'map_meta_cap' => true, 'publicly_queryable' => false, 'exclude_from_search' => true, 'show_in_menu' => false, 'hierarchical' => false, 'sh... ); -
woocommerce_shortcode_order_tracking_order_id
filter Used by 42 plugins β Copy link Customise this hookapply_filters( 'woocommerce_shortcode_order_tracking_order_id', $order_number ); -
apply_filters( 'woocommerce_update_cart_validation', true, $cart_item_key, $values, $update_quantity ); -
apply_filters( 'yith_ywgc_cart_totals_gift_card_label', esc_html( __( 'Gift card', 'bolt-checkout-woocommerce' ) . ' (' . $code . ')' ), $code ); -
apply_filters( 'yith_ywgc_gift_card_coupon_amount', $amount, YITH_YWGC()->get_gift_card_by_code( $code ) ); -
apply_filters( 'yith_ywgc_update_totals_calculate_taxes', true );
Generated from Bolt Checkout 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: