Cresta Checkout for WooCommerce 1.5.2 has 65 actions and 56 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 Cresta Checkout for WooCommerce fires an action
add_action( 'cresta_bc_cart_action', function( $op, $page ) {
// Your code runs here.
}, 10, 2 );
// Change a value Cresta Checkout for WooCommerce is about to use
add_filter( 'cresta_bc_block_visible', function( $value, $instance, $arg3 ) {
// Change $value here.
return $value;
}, 10, 3 );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
-
/** * This filter is documented in inc/class-cbc-renderer.php */ apply_filters( 'cresta_bc_block_visible', true, $instance, 'thankyou' ); -
/** * Filter the classes of the app wrapper. */ apply_filters( 'cresta_bc_app_classes', $cresta_bc_classes, $cresta_bc_page ); -
/** * Filter the classes of a block wrapper. */ apply_filters( 'cresta_bc_block_classes', $classes, $instance ); -
/** * Filter the settings schema of a block. */ apply_filters( 'cresta_bc_block_fields', $this->fields(), $this ); -
/** * Filter whether a block is printed again after an update of the cart. */ apply_filters( 'cresta_bc_block_refreshes', $block->refreshes(), $instance ); -
/** * Filter the data passed to the builder. Premium uses this to switch itself * on. */ apply_filters( 'cresta_bc_builder_data', $data ); -
/** * Fires for an action this class does not know. Premium hooks its own here. */ do_action( 'cresta_bc_cart_action', $op, $page ); -
/** * Filter the answer of the cart endpoint. */ apply_filters( 'cresta_bc_cart_response', $payload, $op, $page ); -
/** * Filter the page handled by the plugin. */ apply_filters( 'cresta_bc_current_page', $page ); -
/** * Filter the paths whose stylesheets are removed from the handled pages. */ apply_filters( 'cresta_bc_isolated_style_paths', array( $themes, wp_parse_url( content_url( 'uploads' ), PHP_URL_PATH ) . '/', wp_parse_url( plugins_url( 'elementor' ), PHP_URL_PATH ) . '/', wp_parse_url( plugins_url( 'elementor-pro' ), PHP_URL_PATH ) . '/', ) ); -
/** * Filter the theme assets kept on the handled pages. */ apply_filters( 'cresta_bc_keep_theme_assets', array() ); -
/** * Filter the layout printed on the storefront. Translation plugins come in * here, see Cresta_BC_Multilingual. */ apply_filters( 'cresta_bc_layout', self::stored( $page ), $page ); -
/** * Fires once every Lite class is available. The Premium add-on boots from * here. */ do_action( 'cresta_bc_loaded' ); -
/** * Filter the global options. Translation plugins come in here, see * Cresta_BC_Multilingual. */ apply_filters( 'cresta_bc_options', wp_parse_args( is_array( $saved ) ? $saved : array(), self::defaults( self::option_fields() ) ) ); -
/** * Fires after the builder saved. */ do_action( 'cresta_bc_saved', $request ); -
/** * Filter the skins. Premium uses this to add its collection. */ apply_filters( 'cresta_bc_skins', $skins ); -
/** * Filter the templates. Each layout lists block types, or full instances with * settings. */ apply_filters( 'cresta_bc_templates', $templates ); -
/** * Filters the capability needed to see the Cresta menu and its page. */ apply_filters( 'cresta_hub_capability', class_exists( 'WooCommerce', false ) ? 'manage_woocommerce' : 'manage_options' ); -
/** * Filters the texts of the page: each plugin adds one array of them, * translated with its own text domain. For every text the first one that * differs from English is used. */ apply_filters( 'cresta_hub_labels', array() ); -
/** * This action is documented in woocommerce/templates/order/order-details.php */ do_action( 'woocommerce_after_order_details', $order ); -
woocommerce_order_details_after_customer_address
action Used by 7 plugins β Copy link Customise this hook/** * This action is documented in * woocommerce/templates/order/order-details-customer.php */ do_action( 'woocommerce_order_details_after_customer_address', $key, $order ); -
woocommerce_order_details_after_customer_details
action Used by 25 plugins β Copy link Customise this hook/** * This action is documented in * woocommerce/templates/order/order-details-customer.php */ do_action( 'woocommerce_order_details_after_customer_details', $order ); -
/** * This filter is documented in woocommerce/templates/checkout/thankyou.php */ apply_filters( 'woocommerce_thankyou_order_failed_text', $default, $order ); -
woocommerce_thankyou_order_received_text
filter Used by 45 plugins β Copy link Customise this hook/** * This filter is documented in * woocommerce/templates/checkout/order-received.php */ apply_filters( 'woocommerce_thankyou_order_received_text', nl2br( $this->fill( $settings['text'], $values ) ), $order ); -
apply_filters( 'woocommerce_cart_item_name', $item_name, $cart_item, $key ); -
apply_filters( 'woocommerce_cart_item_class', 'cart_item', $cart_item, $key ); -
apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $key ); -
apply_filters( 'woocommerce_cart_item_subtotal', Cresta_BC_Renderer::with_full_price( WC()->cart->get_product_subtotal( $product, $cart_item['quantity'] ), $product, $cart_item['quantity'] ), $cart_item, $key ); -
apply_filters( 'woocommerce_cart_item_thumbnail', $product->get_image(), $cart_item, $key ); -
woocommerce_checkout_before_customer_details
action Used by 67 plugins β Copy link Customise this hookdo_action( 'woocommerce_checkout_before_customer_details' ); -
apply_filters( 'cresta_bc_font_stacks', array( 'system' => array( 'label' => __( 'System UI', 'cresta-checkout-for-woocommerce' ), 'css' => '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif', ), 'humanist' => array( 'label' => __( 'Humanist', 'cresta-checkout-for-woocommerce' ), 'css' => 'Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", source-sans-pro, sans-serif', ), 'geometric' =... ); -
apply_filters( 'cresta_bc_frontend_data', array( 'page' => $page, 'ajaxUrl' => WC_AJAX::get_endpoint( 'cresta_bc_cart' ), 'nonce' => wp_create_nonce( 'cresta_bc_cart' ), 'options' => array( 'emailSuggestions' => (bool) Cresta_BC_Settings::option( 'email_suggestions' ), 'inlineErrors' => (bool) Cresta_BC_Settings::option( 'inline_errors' ), ), 'i18n' => array( 'required' => __( 'This field is required.', 'cresta-checkout-for-woocommerce... ); -
apply_filters( 'cresta_bc_option_fields', array( 'enable_cart' => array( 'type' => 'toggle', 'label' => __( 'Use on the cart page', 'cresta-checkout-for-woocommerce' ), 'group' => $pages_group, 'default' => true, ), 'enable_checkout' => array( 'type' => 'toggle', 'label' => __( 'Use on the checkout page', 'cresta-checkout-for-woocommerce' ), 'group' => $pages_group, 'default' => true, ), 'enable_thankyou' => array( 'type' => 'toggle', ... ); -
apply_filters( 'cresta_bc_token_fields', array( 'logo_id' => array( 'type' => 'image', 'label' => __( 'Logo', 'cresta-checkout-for-woocommerce' ), 'group' => $brand_group, 'default' => 0, ), 'logo_width' => array( 'type' => 'range', 'label' => __( 'Logo width', 'cresta-checkout-for-woocommerce' ), 'group' => $brand_group, 'default' => 140, 'min' => 60, 'max' => 320, 'unit' => 'px', 'var' => '--cbc-logo-width', ), 'accent' => array( 't... ); -
apply_filters( 'cresta_hub_licenses', array() ); -
apply_filters( 'cresta_hub_plugins', array() ); -
apply_filters( 'wcml_raw_price_amount', (float) $value ); -
apply_filters( 'woocommerce_add_to_cart_validation', true, $product_id, 1 ); -
do_action( 'woocommerce_after_cart' ); -
do_action( 'woocommerce_after_cart_contents' ); -
do_action( 'woocommerce_after_cart_item_name', $cart_item, $key ); -
do_action( 'woocommerce_after_cart_table' ); -
do_action( 'woocommerce_after_cart_totals' ); -
do_action( 'woocommerce_after_checkout_billing_form', $checkout ); -
do_action( 'woocommerce_after_checkout_form', $checkout ); -
woocommerce_after_checkout_registration_form
action Used by 44 plugins β Copy link Customise this hookdo_action( 'woocommerce_after_checkout_registration_form', $checkout ); -
woocommerce_after_checkout_shipping_form
action Used by 48 plugins β Copy link Customise this hookdo_action( 'woocommerce_after_checkout_shipping_form', $checkout ); -
do_action( 'woocommerce_after_order_notes', $checkout ); -
do_action( 'woocommerce_before_cart' ); -
do_action( 'woocommerce_before_cart_collaterals' ); -
do_action( 'woocommerce_before_cart_contents' ); -
do_action( 'woocommerce_before_cart_table' ); -
do_action( 'woocommerce_before_cart_totals' ); -
woocommerce_before_checkout_billing_form
action Used by 51 plugins β Copy link Customise this hookdo_action( 'woocommerce_before_checkout_billing_form', $checkout ); -
do_action( 'woocommerce_before_checkout_form', $checkout ); -
woocommerce_before_checkout_registration_form
action Used by 44 plugins β Copy link Customise this hookdo_action( 'woocommerce_before_checkout_registration_form', $checkout ); -
woocommerce_before_checkout_shipping_form
action Used by 47 plugins β Copy link Customise this hookdo_action( 'woocommerce_before_checkout_shipping_form', $checkout ); -
do_action( 'woocommerce_before_order_notes', $checkout ); -
do_action( 'woocommerce_before_thankyou', $id ); -
do_action( 'woocommerce_cart_actions' ); -
do_action( 'woocommerce_cart_collaterals' ); -
do_action( 'woocommerce_cart_contents' ); -
do_action( 'woocommerce_cart_coupon' ); -
do_action( 'woocommerce_cart_is_empty' ); -
woocommerce_cart_item_backorder_notification
filter Used by 49 plugins β Copy link Customise this hookapply_filters( 'woocommerce_cart_item_backorder_notification', '<p class="backorder_notification">' . esc_html__( 'Available on backorder', 'cresta-checkout-for-woocommerce' ) . '</p>', $product_id ); -
apply_filters( 'woocommerce_cart_item_permalink', $product->is_visible() ? $product->get_permalink( $cart_item ) : '', $cart_item, $key ); -
apply_filters( 'woocommerce_cart_item_price', Cresta_BC_Renderer::with_full_price( WC()->cart->get_product_price( $product ), $product, 1 ), $cart_item, $key ); -
apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $key ); -
apply_filters( 'woocommerce_cart_item_quantity', $quantity, $key, $cart_item ); -
apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '<a role="button" href="%1$s" class="remove cbc-link cbc-remove" data-cbc-remove="%2$s" aria-label="%3$s">%4$s</a>', esc_url( wc_get_cart_remove_url( $key ) ), esc_attr( $key ), esc_attr( sprintf( __( 'Remove %s from cart', 'cresta-checkout-for-woocommerce' ), wp_strip_all_tags( $name ) ) ), esc_html__( 'Remove', 'cresta-checkout-for-woocommerce' ) ), $key ); -
apply_filters( 'woocommerce_cart_item_visible', true, $cart_item, $key ); -
woocommerce_cart_totals_after_order_total
action Used by 18 plugins β Copy link Customise this hookdo_action( 'woocommerce_cart_totals_after_order_total' ); -
do_action( 'woocommerce_cart_totals_after_shipping' ); -
woocommerce_cart_totals_before_order_total
action Used by 18 plugins β Copy link Customise this hookdo_action( 'woocommerce_cart_totals_before_order_total' ); -
do_action( 'woocommerce_cart_totals_before_shipping' ); -
do_action( 'woocommerce_check_cart_items' ); -
woocommerce_checkout_after_customer_details
action Used by 67 plugins β Copy link Customise this hookdo_action( 'woocommerce_checkout_after_customer_details' ); -
do_action( 'woocommerce_checkout_after_order_review' ); -
woocommerce_checkout_before_order_review
action Used by 66 plugins β Copy link Customise this hookdo_action( 'woocommerce_checkout_before_order_review' ); -
woocommerce_checkout_before_order_review_heading
action Used by 42 plugins β Copy link Customise this hookdo_action( 'woocommerce_checkout_before_order_review_heading' ); -
do_action( 'woocommerce_checkout_billing' ); -
apply_filters( 'woocommerce_checkout_cart_item_quantity', '', $cresta_bc_item, $cresta_bc_key ); -
apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cresta_bc_item, $cresta_bc_key ); -
woocommerce_checkout_must_be_logged_in_message
filter Used by 67 plugins β Copy link Customise this hookapply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'cresta-checkout-for-woocommerce' ) ); -
do_action( 'woocommerce_checkout_order_review' ); -
do_action( 'woocommerce_checkout_shipping' ); -
woocommerce_create_account_default_checked
filter Used by 51 plugins β Copy link Customise this hookapply_filters( 'woocommerce_create_account_default_checked', false ); -
woocommerce_no_available_payment_methods_message
filter Used by 43 plugins β Copy link Customise this hookapply_filters( 'woocommerce_no_available_payment_methods_message', WC()->customer->get_billing_country() ? esc_html__( 'Sorry, there are no payment methods available for your address. Please contact us for help.', 'cresta-checkout-for-woocommerce' ) : esc_html__( 'Please fill in your details above to see the available payment methods.', 'cresta-checkout-for-woocommerce' ) ); -
apply_filters( 'woocommerce_order_button_html', '<button type="submit" class="button alt cbc-pay-button" name="woocommerce_checkout_place_order" id="place_order" value="' . esc_attr( $shown ) . '" data-value="' . esc_attr( $shown ) . '"' . $attrs . '>' . esc_html( $shown ) . '</button>' ); -
apply_filters( 'woocommerce_order_button_text', $settings['label'] ); -
woocommerce_order_details_after_order_table
action Used by 32 plugins β Copy link Customise this hookdo_action( 'woocommerce_order_details_after_order_table', $order ); -
woocommerce_order_details_after_order_table_items
action Used by 25 plugins β Copy link Customise this hookdo_action( 'woocommerce_order_details_after_order_table_items', $order ); -
woocommerce_order_details_before_order_table
action Used by 26 plugins β Copy link Customise this hookdo_action( 'woocommerce_order_details_before_order_table', $order ); -
woocommerce_order_details_before_order_table_items
action Used by 25 plugins β Copy link Customise this hookdo_action( 'woocommerce_order_details_before_order_table_items', $order ); -
apply_filters( 'woocommerce_order_item_class', 'woocommerce-table__line-item order_item', $item, $order ); -
do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, false ); -
do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, false ); -
apply_filters( 'woocommerce_order_item_name', esc_html( $item->get_name() ), $item, false ); -
apply_filters( 'woocommerce_order_item_visible', true, $item ); -
do_action( 'woocommerce_proceed_to_checkout' ); -
woocommerce_purchase_note_order_statuses
filter Used by 32 plugins β Copy link Customise this hookapply_filters( 'woocommerce_purchase_note_order_statuses', array( 'completed', 'processing' ) ); -
apply_filters( 'woocommerce_purchase_order_item_types', 'line_item' ); -
apply_filters( 'woocommerce_return_to_shop_redirect', wc_get_page_permalink( 'shop' ) ); -
apply_filters( 'woocommerce_return_to_shop_text', __( 'Back to the shop', 'cresta-checkout-for-woocommerce' ) ); -
woocommerce_review_order_after_cart_contents
action Used by 40 plugins β Copy link Customise this hookdo_action( 'woocommerce_review_order_after_cart_contents' ); -
woocommerce_review_order_after_order_total
action Used by 41 plugins β Copy link Customise this hookdo_action( 'woocommerce_review_order_after_order_total' ); -
do_action( 'woocommerce_review_order_after_payment' ); -
do_action( 'woocommerce_review_order_after_shipping' ); -
do_action( 'woocommerce_review_order_after_submit' ); -
woocommerce_review_order_before_cart_contents
action Used by 40 plugins β Copy link Customise this hookdo_action( 'woocommerce_review_order_before_cart_contents' ); -
woocommerce_review_order_before_order_total
action Used by 42 plugins β Copy link Customise this hookdo_action( 'woocommerce_review_order_before_order_total' ); -
do_action( 'woocommerce_review_order_before_payment' ); -
woocommerce_review_order_before_shipping
action Used by 45 plugins β Copy link Customise this hookdo_action( 'woocommerce_review_order_before_shipping' ); -
do_action( 'woocommerce_review_order_before_submit' ); -
woocommerce_ship_to_different_address_checked
filter Used by 39 plugins β Copy link Customise this hookapply_filters( 'woocommerce_ship_to_different_address_checked', 'shipping' === get_option( 'woocommerce_ship_to_destination' ) ? 1 : 0 ); -
do_action( 'woocommerce_thankyou', $id ); -
do_action( "woocommerce_thankyou_{self::$order->get_payment_method()}", $id ); -
apply_filters( 'woocommerce_update_cart_validation', true, $key, $item, $quantity ); -
apply_filters( 'wpml_object_id', $value, $object, true ); -
do_action( 'wpml_register_single_string', self::CONTEXT, $name, $value ); -
apply_filters( 'wpml_translate_single_string', $value, self::CONTEXT, $name );
Generated from Cresta 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: