CheckoutWC Lite 11.5.1 has 148 actions and 280 filters, read directly from its source code on Nov 20, 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 CheckoutWC Lite fires an action
add_action( 'cfw_output_fieldset', function( $account_checkout_fields, $arg2 ) {
// Your code runs here.
}, 10, 2 );
// Change a value CheckoutWC Lite is about to use
add_filter( 'cfw_billing_address_heading', function( $html__ ) {
// Change $html__ here.
return $html__;
}, 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.
Changes by version
11.5.0 → 11.5.1 · Nov 20, 2026 · 0 added, 0 removed
No hooks were added or removed in this release.
All hooks
-
/** * Filters billing address heading */ apply_filters( 'cfw_billing_address_heading', esc_html__( 'Billing address', 'checkout-wc' ) ); -
/** * Filter the account checkout fields. */ do_action( 'cfw_output_fieldset', $account_checkout_fields, 'account' ); -
/** * Documented in theme files. */ apply_filters( 'cfw_replace_form', false ); -
/** * Documented in cfw_get_cart_shipping_data() */ apply_filters( 'cfw_available_shipping_methods', $package['rates'] ?? [], $package, $i ); -
/** * Filters billing and shipping address heading */ apply_filters( 'cfw_billing_shipping_address_heading', esc_html__( 'Billing and Shipping address', 'checkout-wc' ) ); -
/** * Filter CheckoutWC specific body classes */ apply_filters( 'cfw_body_classes', $css_classes ); -
/** * Fires after billing address inside billing address container */ do_action( 'cfw_end_billing_address_container' ); -
/** * Filters shipping address heading */ apply_filters( 'cfw_shipping_address_heading', esc_html__( 'Shipping address', 'checkout-wc' ) ); -
/** * Fires before billing address inside billing address container */ do_action( 'cfw_start_billing_address_container' ); -
/** * Filters global template parameters available to templates */ apply_filters( 'cfw_template_global_params', [] ); -
/** * Filters whether to suppress shipping field validation when logged into * Amazon Pay */ apply_filters( 'cfw_amazon_suppress_shipping_field_validation', true ); -
/** * Filters the breadcrumb payment label. */ apply_filters( 'cfw_breadcrumb_payment_label', WC()->cart->needs_payment() ? esc_html__( 'Payment', 'checkout-wc' ) : esc_html__( 'Review', 'checkout-wc' ) ); -
/** * Filters the breadcrumb shipping label. */ apply_filters( 'cfw_breadcrumb_shipping_label', esc_html__( 'Shipping', 'checkout-wc' ) ); -
/** * Filter whether to display cart item data in the expanded format. */ apply_filters( 'cfw_cart_item_data_expanded', SettingsManager::instance()->get_setting( 'cart_item_data_display' ) === 'woocommerce' ); -
/** * Fires after billing address */ do_action( 'cfw_checkout_after_billing_address' ); -
/** * Fires before billing address radio group is output */ do_action( 'cfw_checkout_before_billing_address' ); -
/** * Fires after the thank you page is initiated */ do_action( 'cfw_checkout_loaded_pre_head' ); -
/** * Filters customer info tab heading */ apply_filters( 'cfw_customer_information_heading', __( 'Information', 'checkout-wc' ) ); -
/** * Filter detected gateways */ apply_filters( 'cfw_detected_gateways', [] ); -
/** * Filters whether to disable side cart item quantity control */ apply_filters( 'cfw_disable_side_cart_item_quantity_control', false, $cart_item, $cart_item_key ); -
/** * Filter whether to enable full name field */ apply_filters( 'cfw_enable_fullname_field', 'yes' === SettingsManager::instance()->get_setting( 'use_fullname_field' ) && is_cfw_page() ); -
/** * Filter whether to enable separate address 1 fields */ apply_filters( 'cfw_enable_separate_address_1_fields', 'yes' === SettingsManager::instance()->get_setting( 'enable_discreet_address_1_fields' ) ); -
/** * Filters failed login error message */ apply_filters( 'cfw_failed_login_error_message', ( $user->get_error_message() ) ? $user->get_error_message() : $alt_message ); -
/** * This filter is documented in functions/functions.php */ apply_filters( 'cfw_force_display_billing_address', false ); -
/** * Filter suggested products */ apply_filters( 'cfw_get_suggested_products', $cross_sells ); -
/** * Filters whether to link cart items to products */ apply_filters( 'cfw_link_cart_items', SettingsManager::instance()->get_setting( 'cart_item_link' ) === 'enabled' ); -
/** * Filters whether to load checkout template */ apply_filters( 'cfw_load_checkout_template', cfw_is_checkout() ); -
/** * Filters whether to load order pay template */ apply_filters( 'cfw_load_order_pay_template', is_checkout_pay_page() ); -
/** * Filters whether to load order received template */ apply_filters( 'cfw_load_order_received_template', is_order_received_page() ); -
/** * Filters order review tab heading */ apply_filters( 'cfw_order_review_tab_heading', __( 'Order review', 'checkout-wc' ) ); -
/** * Filters whether to show custom klarna payment box HTML */ apply_filters( "cfw_payment_gateway_{$kp->id}_content", $kp->has_fields() || $kp->get_description() ); -
/** * Filters klarna payment gateway output */ apply_filters( "cfw_payment_gateway_field_html_{$kp->id}", $field_html ); -
/** * Filters payment methods heading */ apply_filters( 'cfw_payment_method_heading', esc_html__( 'Payment', 'checkout-wc' ) ); -
/** * Filters main container classes */ apply_filters( "cfw_{$context}_main_container_classes", join( ' ', $classes ) ); -
/** * Filters the URL parameter for loading AB tests by URL */ apply_filters( 'cfw_ab_test_url_parameter', 'cfw_ab_test' ); -
/** * Filters create account statement */ apply_filters( 'cfw_account_creation_statement', __( 'If you do not have an account, we will create one for you.', 'checkout-wc' ) ); -
/** * Action: cfw_acr_activate */ do_action( 'cfw_acr_activate' ); -
/** * Filter the cart table custom styles */ apply_filters( 'cfw_acr_email_custom_css', '' ); -
/** * Filters hook to render Active Campaign checkbox output */ apply_filters( 'cfw_active_campaign_checkbox_hook', 'cfw_checkout_before_payment_method_tab_nav' ); -
/** * Filters the active theme colors settings. */ apply_filters( 'cfw_active_theme_color_settings', [], $active_template ); -
/** * Filter the add to cart redirect URL. */ apply_filters( 'cfw_add_to_cart_redirect', $redirect, $product_id ); -
/** * Filter whether to automatically generate password for new accounts */ apply_filters( 'cfw_additional_side_cart_trigger_selectors', false ); -
/** * Filter list of billing country restrictions for Google Maps address * autocomplete */ apply_filters( 'cfw_address_autocomplete_billing_countries', [] ); -
/** * Filter address field priorities */ apply_filters( 'cfw_address_field_priorities', $this->priorities ); -
/** * Filters third party checkboxes here: WP Admin > CheckoutWC > Advanced > * Integrations */ apply_filters( 'cfw_admin_integrations_checkbox_fields', [] ); -
/** * Filter the admin page data */ apply_filters( 'cfw_admin_page_data', [] ); -
/** * Filters the admin pages. */ apply_filters( 'cfw_admin_pages', $admin_pages ); -
/** * Filter the admin preview message. */ apply_filters( 'cfw_admin_preview_message', $admin_message ); -
/** * Filters the post statuses returned by the admin product search endpoint. */ apply_filters( 'cfw_admin_product_search_post_statuses', (array) $args['post_status'], $request ); -
/** * Fires after the admin page header. */ do_action( 'cfw_after_admin_page_header', $this ); -
/** * Fires after cart summary before closing </div> tag */ do_action( 'cfw_after_cart_summary' ); -
/** * Fires at end of cart summary totals table before </table> tag */ do_action( 'cfw_after_cart_summary_totals' ); -
/** * Fires after coupon module */ do_action( 'cfw_after_coupon_module' ); -
/** * Fires before account details on customer info tab */ do_action( 'cfw_after_customer_info_account_details' ); -
/** * Fires after customer info address heading */ do_action( 'cfw_after_customer_info_address_heading' ); -
/** * Fires after customer info address billing heading */ do_action( 'cfw_after_customer_info_billing_address_heading' ); -
/** * Fires after customer info address shipping heading */ do_action( 'cfw_after_customer_info_shipping_address_heading' ); -
/** * Fires after enhanced login prompt */ do_action( 'cfw_after_enhanced_login_prompt' ); -
/** * Fires after header is output */ do_action( 'cfw_after_header' ); -
/** * Action after modal order bump regular product form. */ do_action( 'cfw_after_modal_order_bump_regular_product_form', $product, $bump ); -
/** * Action after modal order bump variable product form. */ do_action( 'cfw_after_modal_order_bump_variable_product_form', $variable_product, $bump ); -
/** * Fires after the billing address heading on the payment tab */ do_action( 'cfw_after_payment_information_address_heading' ); -
/** * Fires after the payment methods block */ do_action( 'cfw_after_payment_methods_block', $checkout_object, $show_title ); -
/** * Fires after plugin data upgrades. */ do_action( 'cfw_after_plugin_data_upgrades', $this->db_version ); -
/** * Fires after same as shipping address label */ do_action( 'cfw_after_same_as_shipping_address_label' ); -
/** * Fires after shipping packages component */ do_action( 'cfw_after_shipping_packages' ); -
/** * Fires after the order updates text is output */ do_action( 'cfw_after_thank_you_order_updates_text', $order ); -
/** * Fires after shipping and totals calculated during update_checkout refresh */ do_action( 'cfw_after_update_checkout_calculated', isset( $_POST['post_data'] ) ? wp_unslash( $_POST['post_data'] ) : '', $was_free_shipping_available_pre_cart_update ); -
/** * Filter whether to allow HTML in formatted item data value. */ apply_filters( 'cfw_allow_html_in_formatted_item_data_value', false ); -
/** * Filters already have account text */ apply_filters( 'cfw_already_have_account_text', __( 'Already have an account with us?', 'checkout-wc' ) ); -
/** * Fires after amazon gateway is found */ do_action( 'cfw_amazon_payment_gateway_found', $this->wc_gateway ); -
/** * Hook for when PayPal for WooCommerce is in express checkout mode */ do_action( 'cfw_angelleye_paypal_ec_is_express_checkout' ); -
/** * Fires before the admin page header. */ do_action( 'cfw_before_admin_page_header', $this ); -
/** * This filter documented in elsewhere in this file */ do_action( 'cfw_before_cart_item_subtotal', $item ); -
/** * Fires at start of cart summary totals table */ do_action( 'cfw_before_cart_summary_totals' ); -
/** * Fires before coupon module */ do_action( 'cfw_before_coupon_module', $mobile ); -
/** * Fires before account details on customer info tab */ do_action( 'cfw_before_customer_info_account_details' ); -
/** * Fires before enhanced login prompt */ do_action( 'cfw_before_enhanced_login_prompt' ); -
/** * Fires before gathering data */ do_action( 'cfw_before_get_data' ); -
/** * Fires before header is output */ do_action( 'cfw_before_header' ); -
/** * Fires before order pay submit */ do_action( 'cfw_before_order_pay_submit' ); -
/** * Fires above the payment method heading */ do_action( 'cfw_before_payment_method_heading' ); -
/** * Fires before payment methods block */ do_action( 'cfw_before_payment_methods_block', $checkout_object, $show_title ); -
/** * Fires before plugin data upgrades. */ do_action( 'cfw_before_plugin_data_upgrades', $this->db_version ); -
/** * Fires before printing notices */ do_action( 'cfw_before_print_notices' ); -
/** * Fires before checkout is processed in complete order action */ do_action( 'cfw_before_process_checkout' ); -
/** * Fires before thank you customer information output (after Information * heading) */ do_action( 'cfw_before_thank_you_customer_information', $order ); -
/** * Filters billing address description */ apply_filters( 'cfw_billing_address_description', esc_html__( 'Select the address that matches your card or payment method.', 'checkout-wc' ) ); -
/** * Filters the label for the different billing address radio */ apply_filters( 'cfw_billing_address_different_address_label', __( 'Use a different billing address', 'checkout-wc' ) ); -
/** * Filters the label for the same as shipping address radio */ apply_filters( 'cfw_billing_address_same_as_shipping_label', __( 'Same as shipping address', 'checkout-wc' ) ); -
/** * Filters blocked script handles */ apply_filters( 'cfw_blocked_script_handles', [] ); -
/** * Filters blocked stylesheet handles */ apply_filters( 'cfw_blocked_style_handles', [] ); -
/** * Filters breadcrumb cart link label */ apply_filters( 'cfw_breadcrumb_cart_label', esc_html__( 'Cart', 'woocommerce' ) ); -
/** * Filters breadcrumb cart link URL */ apply_filters( 'cfw_breadcrumb_cart_url', wc_get_cart_url() ); -
/** * Filters the breadcrumb customer info label. */ apply_filters( 'cfw_breadcrumb_customer_info_label', esc_html__( 'Information', 'checkout-wc' ) ); -
/** * Filters breadcrumbs */ apply_filters( 'cfw_breadcrumbs', $default_breadcrumbs ); -
/** * Bypass cookie for automatically showing login modal */ apply_filters( 'cfw_bypass_login_modal_shown_cookie', false ); -
/** * Before cart html table output */ do_action( 'cfw_cart_html_before_cart_container' ); -
/** * Filters the discount HTML for a cart item */ apply_filters( 'cfw_cart_item_discount', $discount_html, $item->get_raw_item(), $item->get_product() ); -
/** * Filters cart item quantity control max value */ apply_filters( 'cfw_cart_item_quantity_max_value', $product->get_max_purchase_quantity(), $cart_item, $cart_item_key ); -
/** * Filters cart item minimum quantity */ apply_filters( 'cfw_cart_item_quantity_min_value', $args['min_value'], $cart_item, $cart_item_key ); -
/** * Filters cart item quantity step */ apply_filters( 'cfw_cart_item_quantity_step', $args['step'], $cart_item, $cart_item_key ); -
/** * Filter the item row class */ apply_filters( 'cfw_cart_item_row_class', $woocommerce_filtered_cart_item_row_class, $item ); -
/** * Filters whether the cart quantity input has been overridden */ apply_filters( 'cfw_cart_quantity_input_has_override', $woocommerce_core_cart_quantity !== $product_quantity, $cart_item_key ); -
/** * Filter the cart table styles */ apply_filters( 'cfw_cart_table_styles', $styles ); -
/** * Filter cart thumbnail height */ apply_filters( 'cfw_cart_thumb_height', 0 ); -
/** * Filter cart thumbnail width */ apply_filters( 'cfw_cart_thumb_width', 60 ); -
/** * Filters cart totals shipping label */ apply_filters( 'cfw_cart_totals_shipping_label', esc_html__( 'Shipping', 'woocommerce' ) ); -
/** * Fires after the cart is updated */ do_action( 'cfw_cart_updated', $cart_updated, $context ); -
/** * Filter whether to check create account by default */ apply_filters( 'cfw_check_create_account_by_default', true ); -
/** * The field type that are like checkboxes */ apply_filters( 'cfw_checkbox_like_field_types', $this->checkbox_like_field_types ); -
/** * Fires after inside the cart summary sidebar container */ do_action( 'cfw_checkout_after_cart_summary_container' ); -
/** * Fires at the bottom of customer info address module after closing </div> */ do_action( 'cfw_checkout_after_customer_info_address' ); -
/** * Fires after email field output */ do_action( 'cfw_checkout_after_email' ); -
/** * Fires after the <main> container */ do_action( 'cfw_checkout_after_main_container', WC()->checkout() ); -
/** * Fires at the bottom of the #order_review container */ do_action( 'cfw_checkout_after_order_review' ); -
/** * Fires after the #order_review container inside the checkout form */ do_action( 'cfw_checkout_after_order_review_container' ); -
/** * Fires at end of payment methods container before </div> tag */ do_action( 'cfw_checkout_after_payment_methods' ); -
/** * Fires after payment method tab billing address */ do_action( 'cfw_checkout_after_payment_tab_billing_address' ); -
/** * Fires after shipping address */ do_action( 'cfw_checkout_after_shipping_address' ); -
/** * Fires before customer info address module */ do_action( 'cfw_checkout_before_customer_info_address' ); -
/** * Fires before <main> container */ do_action( 'cfw_checkout_before_main_container', WC()->checkout() ); -
/** * Fires at the top of the #order_review container */ do_action( 'cfw_checkout_before_order_review' ); -
/** * Fires before the #order_review container inside the checkout form */ do_action( 'cfw_checkout_before_order_review_container' ); -
/** * Fires before payment method terms and conditions output */ do_action( 'cfw_checkout_before_payment_method_terms_checkbox' ); -
/** * Fires after payment methods heading and before transaction are encrypted * statement */ do_action( 'cfw_checkout_before_payment_methods' ); -
/** * Fires before shipping address */ do_action( 'cfw_checkout_before_shipping_address' ); -
/** * Fires inside the cart summary sidebar container */ do_action( 'cfw_checkout_cart_summary' ); -
/** * Outputs customer info tab content */ do_action( 'cfw_checkout_customer_info_tab' ); -
/** * Filter extra data available to JavaScript */ apply_filters( 'cfw_checkout_data', $data ); -
/** * Fires to allow standard CheckoutWC form to be replaced. */ do_action( 'cfw_checkout_form' ); -
/** * Fires at the bottom of <main> container */ do_action( 'cfw_checkout_main_container_end', WC()->checkout() ); -
/** * Fires at the beginning of the <main> container */ do_action( 'cfw_checkout_main_container_start' ); -
/** * Outputs customer info tab content */ do_action( 'cfw_checkout_payment_method_tab' ); -
/** * Outputs customer info tab content */ do_action( 'cfw_checkout_shipping_method_tab' ); -
/** * Fires in the #order_review container */ do_action( 'cfw_checkout_tabs' ); -
/** * Fires when updating CheckoutWC order review */ do_action( 'cfw_checkout_update_order_review', isset( $_POST['post_data'] ) ? wp_unslash( $_POST['post_data'] ) : '' ); -
cfw_compatibility_all_products_for_subscriptions_run_on_side_cart
filter Copy link Customise this hook/** * Filter whether to load our customizations for All Products for Subscriptions * on Side Cart */ apply_filters( 'cfw_compatibility_all_products_for_subscriptions_run_on_side_cart', false ); -
/** * Whether to prevent redirecting during add to cart when Free Gifts for * WooComemrce is active */ apply_filters( 'cfw_compatibility_free_gifts_for_woocommerce_prevent_redirect', false ); -
/** * Prevent disabling fragments when Nexcess MU is active */ apply_filters( 'cfw_compatibility_nexcessmu_prevent_disable_fragments', false ); -
/** * Filter the rendering hook for WooCommerce Germanized compatibility */ apply_filters( 'cfw_compatibility_woocommerce_germanized_render_hook', 'cfw_checkout_before_payment_method_tab_nav' ); -
/** * Filter the priority of the render hook for WooCommerce Germanized * compatibility */ apply_filters( 'cfw_compatibility_woocommerce_germanized_render_priority', 10 ); -
/** * Filter CheckoutWC WooCommerce Gift Cards field label */ apply_filters( 'cfw_compatibility_woocommerce_gift_cards_field_label', esc_attr__( 'Enter your code…', 'woocommerce-gift-cards' ) ); -
/** * Filter CheckoutWC WooCommerce Gift Cards field placeholder */ apply_filters( 'cfw_compatibility_woocommerce_gift_cards_field_placeholder', esc_attr__( 'Enter your code…', 'woocommerce-gift-cards' ) ); -
/** * Filter CheckoutWC WooCommerce Gift Cards Heading Text */ apply_filters( 'cfw_compatibility_woocommerce_gift_cards_heading_text', esc_html__( 'Have a gift card?', 'woocommerce-gift-cards' ) ); -
/** * Filter continue to order review button label */ apply_filters( 'cfw_continue_to_order_review_label', esc_html__( 'Review order', 'checkout-wc' ) ); -
/** * Filter continue to payment method button label */ apply_filters( 'cfw_continue_to_payment_method_label', $args['label'] ); -
/** * Filter continue to shipping method button label */ apply_filters( 'cfw_continue_to_shipping_method_label', esc_html__( 'Continue to shipping', 'checkout-wc' ) ); -
/** * Filters create account checkbox label */ apply_filters( 'cfw_create_account_checkbox_label', esc_html__( 'Create %s shopping account.', 'checkout-wc' ) ); -
/** * Filters create account checkbox site name */ apply_filters( 'cfw_create_account_site_name', get_bloginfo( 'name' ) ); -
/** * Filter whether to crop cart thumbnails */ apply_filters( 'cfw_crop_cart_thumbs', false ); -
/** * Filter whether to crop order bump thumbnails */ apply_filters( 'cfw_crop_order_bump_thumbs', false ); -
/** * Filter the CSS custom property overrides */ apply_filters( 'cfw_custom_css_properties', [ '--cfw-body-background-color' => $body_background_color, '--cfw-body-text-color' => $body_text_color, '--cfw-body-font-family' => $body_font, '--cfw-heading-font-family' => $heading_font, '--cfw-header-background-color' => $active_template->supports( 'header-background' ) ? $header_background_color : $body_background_color, '--cfw-header-bottom-margin' => strtolower( $header_background_color ... ); -
/** * Filters a custom field's fee amount. */ apply_filters( 'cfw_custom_field_fee_amount', $amount, $this ); -
/** * Filters the label a custom field's fee appears under. */ apply_filters( 'cfw_custom_field_fee_label', $label, $field, $value ); -
/** * Filters whether custom field fees are applied at all. */ apply_filters( 'cfw_custom_field_fees_enabled', true ); -
/** * Fires when custom header is hooked */ do_action( 'cfw_custom_header' ); -
/** * Fires when a Dashboard card is shown or used. For telemetry. */ do_action( 'cfw_dashboard_card_action', $card, $action, $location ); -
/** * Filters default billing address radio selection */ apply_filters( 'cfw_default_billing_address_radio_selection', 'same_as_shipping' ); -
/** * Filters whether to disable cart editing */ apply_filters( 'cfw_disable_cart_editing', ! PlanManager::can_access_feature( 'enable_cart_editing' ) || true === $quantity_args['readonly'], $this->raw_item, $key ); -
/** * Filter whether to disable cart quantity prompt */ apply_filters( 'cfw_disable_cart_quantity_prompt', false ); -
/** * Filters whether to disable cart variation editing */ apply_filters( 'cfw_disable_cart_variation_editing', ! PlanManager::can_access_feature( 'enable_side_cart' ) || SettingsManager::instance()->get_setting( 'allow_side_cart_item_variation_changes' ) !== 'yes' || empty( $item['variation_id'] ), $item, $key ); -
/** * Filters whether to disable cart variation editing */ apply_filters( 'cfw_disable_cart_variation_editing_checkout', ! PlanManager::can_access_feature( 'enable_cart_editing' ) || SettingsManager::instance()->get_setting( 'allow_checkout_cart_item_variation_changes' ) !== 'yes' || empty( $item['variation_id'] ), $item, $key ); -
/** * Filter whether to disable email domain validation */ apply_filters( 'cfw_disable_email_domain_validation', false ); -
/** * Filter whether to auto open the side cart on add to cart */ apply_filters( 'cfw_disable_side_cart_auto_open', SettingsManager::instance()->get_setting( 'shake_floating_cart_button' ) === 'yes' ); -
/** * Filter whether to disable CheckoutWC WooCommerce Gift Cards compatibility * class */ apply_filters( 'cfw_disable_woocommerce_gift_cards_compatibility', false ); -
/** * Filters whether to show the admin bar button */ apply_filters( 'cfw_do_admin_bar', current_user_can( 'manage_options' ) && ( SettingsManager::instance()->get_setting( 'hide_admin_bar_button' ) !== 'yes' || is_cfw_page() ) ); -
/** * Fires after plugin activation. */ do_action( 'cfw_do_plugin_activation' ); -
/** * Fires after plugin deactivation. */ do_action( 'cfw_do_plugin_deactivation' ); -
/** * Filters whether to validate email domain */ apply_filters( 'cfw_email_domain_valid', checkdnsrr( $email_domain . '.', 'MX' ), $email_domain, $email_address ); -
/** * Filters whether an email address has an account */ apply_filters( 'cfw_email_exists', email_exists( $email ), $email ); -
/** * Fires before the empty cart message is output. */ apply_filters( 'cfw_empty_side_cart_heading', __( 'Your Cart is Empty', 'checkout-wc' ) ); -
/** * Filter whether to check whether an existing account matches provided email * address */ apply_filters( 'cfw_enable_account_exists_check', ! is_user_logged_in() ); -
/** * Filter whether to enable editable shipping phone field in admin */ apply_filters( 'cfw_enable_editable_admin_shipping_phone_field', true ); -
/** * Filter whether to enable field peristence with Garlic.js */ apply_filters( 'cfw_enable_field_persistence', true ); -
/** * Whether to enable woocommerce_after_cart_totals hook for side cart */ apply_filters( 'cfw_enable_side_cart_woocommerce_after_cart_totals_hook', false ); -
/** * Filter whether to enable zip autocomplete */ apply_filters( 'cfw_enable_zip_autocomplete', true ); -
/** * Fires after shipping address inside shipping address container */ do_action( 'cfw_end_shipping_address_container' ); -
/** * Fires after script setup */ do_action( 'cfw_enqueue_scripts' ); -
/** * Filter whether to ensure a payment method is selected */ apply_filters( 'cfw_ensure_selected_payment_method', true ); -
/** * Filter cfw_event_object array */ apply_filters( 'cfw_event_object', [ 'data' => array_merge_recursive( self::get_data(), [ 'login_form' => cfw_get_login_form_html(), 'lost_password_form' => cfw_get_lost_password_form_html(), ] ), 'compatibility' => apply_filters( 'cfw_typescript_compatibility_classes_and_params', [] ), 'settings' => [ 'base_country' => WC()->countries->get_base_country(), 'locale_prefix' => $this->get_locale_prefix(), 'parsley_locale' => $this-... ); -
/** * Filters payment request button separator text */ apply_filters( 'cfw_express_pay_separator_text', __( 'Or', 'checkout-wc' ) ); -
/** * Filter the fetchify search placeholder */ apply_filters( 'cfw_fetchify_search_placeholder', __( 'Start with post/zip code or street', 'checkout-wc' ) ); -
/** * Filter list of field persistence service excludes */ apply_filters( 'cfw_field_data_persistence_excludes', [ 'input[type="button"]', 'input[type="file"]', 'input[type="hidden"]', 'input[type="submit"]', 'input[type="reset"]', '#cfw-promo-code', '.cfw-create-account-checkbox', 'input[name="payment_method"]', 'input[name="paypal_pro-card-number"]', 'input[name="paypal_pro-card-cvc"]', 'input[name="wc-authorize-net-aim-account-number"]', 'input[name="wc-authorize-net-aim-csc"]', 'input[name="paypal_pro... ); -
/** * Filters the form attributes */ apply_filters( 'cfw_form_attributes', $attributes, $id ); -
/** * Whether to append optional to field placeholder */ apply_filters_deprecated( 'cfw_form_field_append_optional_to_placeholder', [ isset( $args['suppress_optional_suffix'] ), $key ], 'CheckoutWC 10.1.13', 'cfw_form_field_suppress_optional_in_placeholder' ); -
/** * Whether to suppress 'optional' from field placeholder */ apply_filters( 'cfw_form_field_suppress_optional_in_placeholder', $suppress_placeholder, $key ); -
/** * Filters gateway order button text */ apply_filters( 'cfw_gateway_order_button_text', $gateway->order_button_text, $gateway ); -
/** * Filters account address checkout fields */ apply_filters( 'cfw_get_account_checkout_fields', $checkout->get_checkout_fields( 'account' ) ); -
/** * Filters billing address checkout fields */ apply_filters( 'cfw_get_billing_checkout_fields', (array) WC()->checkout()->get_checkout_fields( 'billing' ) ); -
/** * Filters the cart actions data */ apply_filters( 'cfw_get_cart_actions_data', [ 'cfw_after_cart_html' => cfw_get_action_output( 'cfw_after_cart_html' ), 'woocommerce_review_order_before_shipping' => cfw_get_action_output( 'woocommerce_review_order_before_shipping' ), 'cfw_after_shipping_methods' => cfw_get_action_output( 'cfw_after_shipping_methods' ), 'woocommerce_review_order_after_shipping' => cfw_get_action_output( 'woocommerce_review_order_after_shipping' ), 'woocom... ); -
/** * Filters the cart actions data */ apply_filters( 'cfw_get_cart_static_actions_data', [ 'cfw_cart_html_table_start' => cfw_get_action_output( 'cfw_cart_html_table_start' ), 'cfw_checkout_cart_html_table_start' => cfw_get_action_output( 'cfw_checkout_cart_html_table_start' ), 'cfw_coupon_module_end' => cfw_get_action_output( 'cfw_coupon_module_end' ), 'cfw_checkout_before_shipping_methods' => cfw_get_action_output( 'cfw_checkout_before_shipping_methods' ), 'cfw_before_shipping_me... ); -
/** * Filters the cart totals data */ apply_filters( 'cfw_get_cart_totals_data', $data ); -
/** * Filters the checkout tabs */ apply_filters( 'cfw_get_checkout_tabs', [ 'cfw-customer-info' => [ 'label' => apply_filters( 'cfw_breadcrumb_customer_info_label', esc_html__( 'Information', 'checkout-wc' ) ), 'classes' => [], 'priority' => 20, 'enabled' => cfw_show_customer_information_tab(), 'display_callback' => function() { do_action( 'cfw_checkout_customer_info_tab' ); }, ], 'cfw-shipping-method' => [ 'label' => apply_filters( 'cfw_breadcrumb_shipping_label', e... ); -
/** * Filters whether to clear notices when gathering data */ apply_filters( 'cfw_get_data_clear_notices', ! is_checkout() ); -
/** * Filters gateway order button text */ apply_filters( 'cfw_get_gateway_icons', $gateway->get_icon(), $gateway ); -
/** * Filters header logo attachment ID */ apply_filters( 'cfw_get_logo_attachment_id', SettingsManager::instance()->get_setting( 'logo_attachment_id', [ cfw_get_active_template()->get_slug() ] ) ); -
/** * Filter order bumps before processing */ apply_filters( 'cfw_get_order_bumps', $bumps ); -
/** * Filter order bumps data before returning */ apply_filters( 'cfw_get_order_bumps_data', $data ); -
/** * Fires before payment methods html is fetched */ do_action( 'cfw_get_payment_methods_html' ); -
/** * Filters review pane billing address */ apply_filters( 'cfw_get_review_pane_billing_address', cfw_get_posted_address_fields(), $checkout ); -
/** * Filters review pane formatted shipping address */ apply_filters( 'cfw_get_review_pane_shipping_address', $formatted_address ); -
/** * Filters shipping address checkout fields */ apply_filters( 'cfw_get_shipping_checkout_fields', (array) WC()->checkout()->get_checkout_fields( 'shipping' ) ); -
/** * Filters review pane shipping address */ apply_filters( 'cfw_get_shipping_details_address', cfw_get_posted_address_fields( wc_ship_to_billing_address_only() ? 'billing' : 'shipping' ), $checkout ); -
/** * Filters WooCommerce notices before display */ apply_filters( 'cfw_get_woocommerce_notices', WC()->session->get( 'wc_notices', [] ) ); -
/** * Filter the Google Font configurations before generating the URL. */ apply_filters( 'cfw_google_font_configurations', $font_configs ); -
/** * Filter the font-display property for the Google Fonts URL. */ apply_filters( 'cfw_google_font_display', 'swap' ); -
/** * Filters header logo / title link URL */ apply_filters( 'cfw_header_blog_name', get_bloginfo( 'name' ) ); -
/** * Filters header logo / title link URL */ apply_filters( 'cfw_header_home_url', get_home_url() ); -
/** * Shows the email field if the user is not logged in and the setting is * enabled */ apply_filters( 'cfw_hide_email_field_for_logged_in_users', true ); -
/** * Filters whether to hide optional fiscal code field generated by Fatture in * Cloud plugin */ apply_filters( 'cfw_hide_optional_fiscal_code', true ); -
/** * The list of highlighted countries */ apply_filters( 'cfw_highlighted_countries', SettingsManager::instance()->get_setting( 'highlighted_countries' ) ); -
/** * Filter the invalid fullname error message */ apply_filters( 'cfw_invalid_full_name_validation_error_message', __( 'Please enter your first and last name.', 'checkout-wc' ) ); -
/** * Filter the invalid fullname error message */ apply_filters( 'cfw_invalid_name_email_validation_error_message', __( 'Please enter a name, not an email address.', 'checkout-wc' ) ); -
/** * Filter the invalid phone number error message */ apply_filters( 'cfw_invalid_phone_validation_error_message', __( 'Please enter a valid phone number.', 'checkout-wc' ) ); -
/** * Filter cfw_is_checkout() */ apply_filters( 'cfw_is_checkout', ( function_exists( 'is_checkout' ) && is_checkout() ) && ! is_order_received_page() && ! is_checkout_pay_page() ); -
/** * Filter is_checkout_pay_page() */ apply_filters( 'cfw_is_checkout_pay_page', function_exists( 'is_checkout_pay_page' ) && is_checkout_pay_page() && cfw_get_active_template()->supports( 'order-pay' ) && PlanManager::can_access_feature( 'enable_order_pay' ) ); -
/** * Filter is_order_received_page() */ apply_filters( 'cfw_is_order_received_page', function_exists( 'is_order_received_page' ) && is_order_received_page() && cfw_get_active_template()->supports( 'order-received' ) && PlanManager::can_access_feature( 'enable_thank_you_page', 'plus' ) ); -
/** * This filter is documented elsewhere in this file */ apply_filters( 'cfw_items_summary_table_html', $return, 'order' ); -
/** * Where to output Klaviyo checkboxes */ apply_filters( 'cfw_klaviyo_output_hook', 'cfw_checkout_before_payment_method_tab_nav' ); -
/** * Filters whether to suppress PHP errors output. */ apply_filters( 'cfw_legacy_suppress_php_errors_output', ! defined( 'WP_DEBUG' ) || ! WP_DEBUG ); -
/** * Filter whether to load tabs */ apply_filters( 'cfw_load_tabs', cfw_is_checkout() ); -
/** * Fires to trigger Templates to load their assets */ do_action( 'cfw_load_template_assets' ); -
/** * Filter locale prefix */ apply_filters( 'cfw_locale_prefix', $locale ); -
/** * Filters login faster text */ apply_filters( 'cfw_login_faster_text', esc_html__( 'Log in.', 'checkout-wc' ) ); -
/** * Filters the text before the login form for users who have shopped with us * before */ apply_filters( 'cfw_login_form_account_does_not_exist_text', esc_html__( 'If you have shopped with us before, please enter your login details below.', 'checkout-wc' ) ); -
/** * Filters the text for users who already have an account */ apply_filters( 'cfw_login_form_account_exists_text', esc_html__( 'It looks like you already have an account. Please enter your login details below.', 'checkout-wc' ) ); -
/** * Filters the text for the continue as guest button */ apply_filters( 'cfw_login_form_continue_as_guest_button_text', esc_html__( 'Or continue as guest', 'checkout-wc' ) ); -
/** * Filters the link to the Lost Password page. */ apply_filters( 'cfw_login_modal_last_password_link', sprintf( '<a id="cfw_lost_password_trigger" href="#cfw_lost_password_form_wrap" class="cfw-small">%s</a>', esc_html__( 'Lost your password?', 'woocommerce' ) ) ); -
/** * Filter tracking numbers output on thank you page */ apply_filters( 'cfw_maybe_output_tracking_numbers', $output, $order ); -
/** * Filters no payment required text */ apply_filters( 'cfw_no_payment_required_text', esc_html__( 'Your order is free. No payment is required.', 'checkout-wc' ) ); -
/** * Filters shipping total text when no shipping methods are available */ apply_filters( 'cfw_no_shipping_method_selected_message', '' ); -
/** * The non-floating label field types */ apply_filters( 'cfw_non_floating_label_field_types', [ 'checkbox', 'radio' ] ); -
/** * Fires after successful offer acceptance */ do_action( 'cfw_offer_accepted', $order, $product_data ); -
/** * Fires when offer payment failed */ do_action( 'cfw_offer_payment_failed', $order, $product_data, $gateway ); -
/** * Fires when offer payment succeeded but order update failed */ do_action( 'cfw_offer_payment_succeeded_order_update_failed', $order, $product_data ); -
/** * Filter offer product data before payment processing */ apply_filters( 'cfw_offer_product_data', $product_data, $order ); -
/** * Filter order bump thumbnail height */ apply_filters( 'cfw_order_bump_thumb_height', 0 ); -
/** * Filter order bump thumbnail width */ apply_filters( 'cfw_order_bump_thumb_width', 320 ); -
/** * Filters order cart HTML output */ apply_filters_deprecated( 'cfw_order_cart_html', [ $return ], 'CheckoutWC 5.4.0', 'cfw_items_summary_table_html' ); -
/** * Fires after cart item data output */ do_action( 'cfw_order_item_after_data', $item->get_raw_item(), $item->get_item_key(), $item ); -
/** * Filter the order item row class */ apply_filters( 'cfw_order_item_row_class', '', $item ); -
/** * Filter the order item thumbnail */ apply_filters( 'cfw_order_item_thumbnail', $item_product ? $item_product->get_image( 'cfw_cart_thumb' ) : '', $item ); -
/** * Fires after <main> container on order pay page */ do_action( 'cfw_order_pay_after_main_container', $order ); -
/** * Fires at bottom of #order_review on order pay page */ do_action( 'cfw_order_pay_after_order_review' ); -
/** * Fires before <main> container on order pay page */ do_action( 'cfw_order_pay_before_main_container', $order ); -
/** * Fires at top of #order_review on order pay page */ do_action( 'cfw_order_pay_before_order_review' ); -
/** * Fires in cart summary sidebar container */ do_action( 'cfw_order_pay_cart_summary', $order ); -
/** * Fires in #order_review container on order pay page */ do_action( 'cfw_order_pay_content', $order, $call_receipt_hook, $available_gateways, $order_button_text ); -
/** * Fires at bottom of <main> container on order pay page */ do_action( 'cfw_order_pay_main_container_end', $order ); -
/** * Fires at top of <main> container on order pay page */ do_action( 'cfw_order_pay_main_container_start', $order ); -
/** * Filters order totals HTML */ apply_filters( 'cfw_order_totals_html', ob_get_clean() ); -
/** * Filters order updates heading */ apply_filters( 'cfw_order_updates_heading', __( 'Order updates', 'checkout-wc' ), $order ); -
/** * Filters order updates text */ apply_filters( 'cfw_order_updates_text', __( 'You’ll get shipping and delivery updates by email.', 'checkout-wc' ), $order ); -
/** * Filter Parsley validation service locale */ apply_filters( 'cfw_parsley_locale', $locale ); -
/** * Filters whether to show gateway content */ apply_filters( "cfw_payment_gateway_{$gateway->id}_content", $gateway->has_fields() || $gateway->get_description() ); -
/** * Filters gateway payment field output HTML */ apply_filters( "cfw_payment_gateway_field_html_{$gateway->id}", $field_html ); -
/** * Fires after payment method LI to allow alternate / additional output */ do_action_ref_array( "cfw_payment_gateway_list_{$gateway->id}_alternate", [ $count ] ); -
/** * Filters chosen shipping methods label */ apply_filters( 'cfw_payment_method_address_review_shipping_method', $chosen_shipping_methods_labels ); -
/** * Filters the class attribute of the payment method list item. */ apply_filters( 'cfw_payment_method_li_class', "wc_payment_method cfw-radio-reveal-li {$is_active_class} payment_method_{$gateway->id}", $gateway ); -
/** * Fires after bottom of payment methods UL */ do_action( 'cfw_payment_methods_ul_end' ); -
/** * Fires at start of payment methods UL */ do_action( 'cfw_payment_methods_ul_start' ); -
/** * Hook for adding payment request buttons */ do_action( 'cfw_payment_request_buttons' ); -
/** * Permissioned Init */ do_action( 'cfw_permissioned_init' ); -
/** * Filter intl-tel-input preferred countries */ apply_filters( 'cfw_phone_field_highlighted_countries', SettingsManager::instance()->get_setting( 'enable_highlighted_countries' ) === 'yes' ? SettingsManager::instance()->get_setting( 'highlighted_countries' ) : [] ); -
/** * Filters place order button container classes */ apply_filters( 'cfw_place_order_button_container_classes', [ 'place-order' ] ); -
/** * Filters fieldset field args */ apply_filters( 'cfw_pre_output_fieldset_field_args', $field, $key ); -
/** * Filters promo code button label */ apply_filters( 'cfw_promo_code_apply_button_label', esc_attr__( 'Apply', 'checkout-wc' ) ); -
/** * Filters promo code label */ apply_filters( 'cfw_promo_code_label', __( 'Promo Code', 'checkout-wc' ) ); -
/** * Filters promo code placeholder */ apply_filters( 'cfw_promo_code_placeholder', __( 'Enter Promo Code', 'checkout-wc' ) ); -
/** * Filters promo code toggle link text */ apply_filters( 'cfw_promo_code_toggle_link_text', __( 'Have a promo code? Click here.', 'checkout-wc' ) ); -
/** * Filters whether to reload checkout */ apply_filters( 'cfw_reload_checkout', $reload_checkout ); -
/** * Filters remove coupon action response object */ apply_filters( 'cfw_remove_coupon_response', [ 'result' => $result, 'html' => $output, 'coupon' => $coupon, ] ); -
/** * Filter return to cart link */ apply_filters( 'cfw_return_to_cart_link', sprintf( '<a href="%s" class="cfw-prev-tab">« %s</a>', esc_attr( $return_to_cart_link_url ), $return_to_cart_link_text ) ); -
/** * Filter return to cart link text */ apply_filters( 'cfw_return_to_cart_link_text', esc_html__( 'Return to cart', 'checkout-wc' ) ); -
/** * Filter return to cart link URL */ apply_filters( 'cfw_return_to_cart_link_url', wc_get_cart_url() ); -
/** * Filter return to customer information tab label */ apply_filters( 'cfw_return_to_customer_info_label', esc_html__( 'Return to information', 'checkout-wc' ) ); -
/** * Filter return to customer information tab link */ apply_filters( 'cfw_return_to_customer_information_link', sprintf( '<a href="javascript:" data-tab="#cfw-customer-info" class="cfw-prev-tab cfw-return-to-information-btn">« %s</a>', $return_to_customer_info_label ) ); -
/** * Filter return to payment method tab label */ apply_filters( 'cfw_return_to_payment_method_label', esc_html__( 'Return to payment', 'checkout-wc' ) ); -
/** * Filter return to payment method tab link */ apply_filters( 'cfw_return_to_payment_method_link', sprintf( '<a href="javascript:" data-tab="#cfw-payment-method" class="cfw-prev-tab cfw-return-to-payment-btn">« %s</a>', $return_to_payment_method_label ) ); -
/** * Filter return to shipping method tab label */ apply_filters( 'cfw_return_to_shipping_method_label', esc_html__( 'Return to shipping', 'checkout-wc' ) ); -
/** * Filter return to shipping method tab link */ apply_filters( 'cfw_return_to_shipping_method_link', sprintf( '<a href="javascript:" data-tab="#cfw-shipping-method" class="cfw-prev-tab cfw-return-to-shipping-btn">« %s</a>', $return_to_shipping_method_label ) ); -
/** * Filters the contact value for the review pane */ apply_filters( 'cfw_review_pane_contact_value', WC()->checkout()->get_value( 'billing_email' ) ); -
/** * Filters whether to show the shipping method tab in the review pane. */ apply_filters( 'cfw_review_pane_show_shipping_method', WC()->cart->needs_shipping() ); -
/** * Filters the select field options for edge cases */ apply_filters( 'cfw_select_field_options', $args['options'], $args, $key ); -
/** * Filters the selected_tab */ apply_filters( 'cfw_selected_tab', empty( $_GET[ $this->selected_tab_query_arg ] ) ? $this->default_tab : sanitize_text_field( wp_unslash( $_GET[ $this->selected_tab_query_arg ] ) ) ); -
/** * Filters which element to update with session expired notice */ apply_filters( 'cfw_session_expired_target_element', 'form.woocommerce-checkout' ); -
/** * Filters ship to label in review pane */ apply_filters( 'cfw_ship_to_label', $ship_to_label ); -
/** * Filters the text displayed when free shipping is available. */ apply_filters( 'cfw_shipping_free_text', __( 'Free!', 'woocommerce' ) ); -
/** * Filter the shipping methods heading */ apply_filters( 'cfw_shipping_method_heading', esc_html__( 'Shipping method', 'checkout-wc' ) ); -
/** * Filters shipping total address required text */ apply_filters( 'cfw_shipping_total_address_required_text', $address_required_text ); -
/** * Filters shipping total text when no shipping methods are available */ apply_filters( 'cfw_shipping_total_not_available_text', __( 'No shipping methods available', 'checkout-wc' ) ); -
/** * Filters whether to show cart item discount on cart item */ apply_filters( 'cfw_show_cart_item_discount', SettingsManager::instance()->get_setting( 'show_side_cart_item_discount' ) === 'yes' ); -
/** * Filters whether to show customer information tab */ apply_filters( 'cfw_show_customer_information_tab', true ); -
cfw_show_free_shipping_progress_bar_without_calculated_packages
filter Copy link Customise this hook/** * Filters whether to show cart item discount on cart item */ apply_filters( 'cfw_show_free_shipping_progress_bar_without_calculated_packages', false ); -
/** * Filters whether to show gateway in list of gateways */ apply_filters( "cfw_show_gateway_{$gateway->id}", true ); -
/** * Whether to show the Klarna Checkout button */ apply_filters( 'cfw_show_klarna_checkout_express_button', true ); -
/** * Filters whether to show logout link */ apply_filters( 'cfw_show_logout_link', false ); -
/** * Filters hide order summary link label */ apply_filters( 'cfw_show_order_summary_hide_link_text', esc_html__( 'Hide order summary', 'checkout-wc' ) ); -
/** * Filters show order summary link label */ apply_filters( 'cfw_show_order_summary_link_text', esc_html__( 'Show order summary', 'checkout-wc' ) ); -
/** * Filters whether to show the return to cart link */ apply_filters( 'cfw_show_return_to_cart_link', true ); -
/** * Filters whether woocommerce_review_order_before_cart_contents hook is * allowed to output */ apply_filters( 'cfw_show_review_order_before_cart_contents_hook', false ); -
/** * Filters whether to show shipping tab */ apply_filters( 'cfw_show_shipping_tab', WC()->cart && WC()->cart->needs_shipping() && SettingsManager::instance()->get_setting( 'skip_shipping_step' ) !== 'yes' ); -
/** * Filters whether to show shipping total */ apply_filters( 'cfw_show_shipping_total', WC()->cart->needs_shipping() && wc_shipping_enabled() && WC()->cart->get_cart_contents() ); -
/** * Filters whether to enable continue shopping button in side cart */ apply_filters( 'cfw_side_cart_enable_continue_shopping_button', SettingsManager::instance()->get_setting( 'enable_side_cart_continue_shopping_button' ) === 'yes' ); -
/** * Filter cfw_event_object array */ apply_filters( 'cfw_side_cart_event_object', [ 'data' => self::get_default_data(), 'settings' => [ 'disable_side_cart_auto_open' => (bool) apply_filters( 'cfw_disable_side_cart_auto_open', SettingsManager::instance()->get_setting( 'shake_floating_cart_button' ) === 'yes' ), 'enable_floating_cart_button' => SettingsManager::instance()->get_setting( 'enable_floating_cart_button' ) === 'yes', 'enable_side_cart_suggested_products' => Settings... ); -
/** * Filters whether to show shipping and tax totals in side cart */ apply_filters( 'cfw_side_cart_show_total', SettingsManager::instance()->get_setting( 'enable_side_cart_totals' ) === 'yes' ); -
/** * Filters whether a checkout slot reaches the customer for the current cart. */ apply_filters( 'cfw_slot_is_active', $active, $slot_id ); -
/** * Filters whether to override Stripe payment request button heights */ apply_filters( 'cfw_square_payment_requests_ignore_shipping_phone', true ); -
/** * Fires before shipping address inside shipping address container */ do_action( 'cfw_start_shipping_address_container' ); -
/** * Filter to force enable express checkout on checkout page */ apply_filters( 'cfw_stripe_force_checkout_express_checkout', false ); -
/** * Filters whether to override Stripe payment request button heights */ apply_filters( 'cfw_stripe_payment_requests_ignore_shipping_phone', true ); -
/** * Filters whether to suppress add to cart notices at checkout */ apply_filters( 'cfw_suppress_add_to_cart_notices', true ); -
/** * Fires when order pay page is initted */ do_action( 'cfw_template_after_init_order_pay', $global_template_parameters ); -
/** * Fires after template pieces are loaded */ do_action( 'cfw_template_after_load', $template_file ); -
/** * Fires before template pieces are loaded */ do_action( 'cfw_template_before_load', $template_file ); -
/** * Filters order totals element ID */ apply_filters( 'cfw_template_cart_el', 'cfw-totals-list' ); -
cfw_template_load_after_{$template_name}_{$template_piece_name}
action Copy link Customise this hook/** * Fires after template has been echoed out */ do_action( "cfw_template_load_after_{$template_name}_{$template_piece_name}" ); -
cfw_template_load_before_{$template_name}_{$template_piece_name}
action Copy link Customise this hook/** * Fires before template is output */ do_action( "cfw_template_load_before_{$template_name}_{$template_piece_name}" ); -
/** * Filters CheckoutWC template redirect priority */ apply_filters( 'cfw_template_redirect_priority', 11 ); -
/** * Fires after <main> container on thank you page */ do_action( 'cfw_thank_you_after_main_container', $order ); -
/** * Fires at the end of <main> container on thank you page */ do_action( 'cfw_thank_you_after_order_review' ); -
/** * Fires before <main> container on thank you page */ do_action( 'cfw_thank_you_before_main_container', $order ); -
/** * Fires at top of #order_review on thank you page */ do_action( 'cfw_thank_you_before_order_review' ); -
/** * Fires in cart summary sidebar container on thank you page */ do_action( 'cfw_thank_you_cart_summary', $order ); -
/** * Fires before <main> container on thank you page */ do_action( 'cfw_thank_you_content', $order, $order_statuses, $show_downloads, $downloads ); -
/** * Filters thank you page continue shopping button text */ apply_filters( 'cfw_thank_you_continue_shopping_text', esc_html__( 'Continue shopping', 'woocommerce' ) ); -
/** * Filters thank you page heading icon */ apply_filters( 'cfw_thank_you_heading_icon', '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" fill="none" stroke-width="2" class="cfw-checkmark"><path class="checkmark__circle" d="M25 49c13.255 0 24-10.745 24-24S38.255 1 25 1 1 11.745 1 25s10.745 24 24 24z"></path><path class="checkmark__check" d="M15 24.51l7.307 7.308L35.125 19"></path></svg>', $order ); -
/** * Filters whether a failed order's thank you page hides the sections that * imply the order went through */ apply_filters( 'cfw_thank_you_hide_sections_for_failed_order', true, $order ); -
/** * Fires at the bottom of <main> container on thank you page */ do_action( 'cfw_thank_you_main_container_end', $order ); -
/** * Fires at top of <main> container on thank you page */ do_action( 'cfw_thank_you_main_container_start', $order ); -
/** * Filter thank you page map address */ apply_filters( 'cfw_thank_you_page_map_address', $order->get_address( 'shipping' ), $order ); -
/** * Filters tracking link header on thank you page */ apply_filters( 'cfw_thank_you_shipment_tracking_header', "<h4>{$tracking_item['formatted_tracking_provider']} {$label_suffix}</h4>", $tracking_item['formatted_tracking_provider'] ); -
/** * Filters tracking link output on thank you page */ apply_filters( 'cfw_thank_you_shipment_tracking_link', "<p><a class=\"tracking-number\" target=\"_blank\" href=\"{$tracking_item['formatted_tracking_link']}\">{$tracking_item['tracking_number']}</a></p>", $tracking_item['formatted_tracking_link'], $tracking_item['tracking_number'] ); -
/** * Filters thank you status icon class */ apply_filters( "cfw_thank_you_status_icon_{$order_status}", 'fa fa-chevron-circle-right' ); -
/** * Filters thank you page heading subtitle */ apply_filters( 'cfw_thank_you_subtitle', $subtitle ); -
/** * Filters thank you page heading title */ apply_filters( 'cfw_thank_you_title', $title ); -
/** * Filter to handle custom shipment tracking links output on thank you page */ apply_filters( 'cfw_thank_you_tracking_numbers', '', $order ); -
/** * Filters the theme color settings. */ apply_filters( 'cfw_theme_color_settings', $color_settings ); -
/** * Whether to itemize shipping costs */ apply_filters( 'cfw_totals_itemize_shipping_costs', false ); -
/** * Filters payment methods transactions are encrypted statement */ apply_filters( 'cfw_transactions_encrypted_statement', esc_html__( 'All transactions are secure and encrypted.', 'checkout-wc' ) ); -
/** * Filter to add additional trust badges (like WooCommerce reviews) */ apply_filters( 'cfw_trust_badges', $badges, $apply_rules ); -
/** * Filter TypeScript compatibility classes and params */ apply_filters( 'cfw_typescript_compatibility_classes_and_params', [] ); -
/** * Filters the unique billing fields. */ apply_filters( 'cfw_unique_billing_fields', $unique_fields ); -
/** * Fires after customer address data has been updated. This is where we do cart * updates */ do_action( 'cfw_update_checkout_after_customer_save', isset( $_POST['post_data'] ) ? wp_unslash( $_POST['post_data'] ) : '' ); -
/** * Filters whether to redirect the checkout page during refresh */ apply_filters( 'cfw_update_checkout_redirect', false ); -
/** * Filters payment methods during update_checkout refresh */ apply_filters( 'cfw_update_payment_methods', cfw_get_payment_methods() ); -
/** * Fires when setting updates */ do_action_ref_array( 'cfw_updated_setting', [ $setting, $value, $old_value ] ); -
/** * Fires when setting updates */ do_action_ref_array( "cfw_updated_setting_{$setting}", [ $value, $old_value ] ); -
/** * Action hook fired after the 10.1.7 database update routine runs. Used to * trigger actions like initial telemetry sync. */ do_action( 'cfw_updated_to_1017' ); -
/** * Action hook fired after the 10.1.8 database update routine runs. Used to * trigger actions like initial telemetry sync. */ do_action( 'cfw_updated_to_1018' ); -
/** * Action hook fired after the 10.2.0 database update routine runs. Used to * trigger actions when Turnstile feature is added. */ do_action( 'cfw_updated_to_1020' ); -
/** * Action hook fired after the 10.3.2 database update routine runs. */ do_action( 'cfw_updated_to_1032' ); -
/** * Action hook fired after the 10.3.2 database update routine runs. */ do_action( 'cfw_updated_to_1036' ); -
/** * Filters the home URL. */ apply_filters( 'cfw_updates_manager_home_url', $url, $path, $orig_scheme, $blog_id ); -
/** * Filter whether to validate required registration */ apply_filters( 'cfw_validate_required_registration', true ); -
/** * Filters whether to validate nonce for update order review */ apply_filters( 'cfw_validate_update_order_review_nonce', true ); -
/** * Filters WooCommerce notices before display */ apply_filters( 'cfw_wc_print_notices', WC()->session->get( 'wc_notices', [] ) ); -
/** * Filters whether to override Stripe payment request button heights */ apply_filters( 'cfw_wcpay_payment_requests_ignore_shipping_phone', true ); -
/** * Filters welcome back statement customer email */ apply_filters( 'cfw_welcome_back_email', wp_get_current_user()->user_email ); -
/** * Filters welcome back statement customer name */ apply_filters( 'cfw_welcome_back_name', $welcome_back_name ); -
/** * Filters welcome back statement */ apply_filters( 'cfw_welcome_back_text', $welcome_back_text, $welcome_back_name, $welcome_back_email ); -
/** * Fires after wp_head() */ do_action( 'cfw_wp_head' ); -
/** * Fires after the $edd_plugin_data is setup. */ do_action( 'post_edd_sl_plugin_updater_setup', $edd_plugin_data ); -
/** * Filters the activated label. */ apply_filters( "stellarwp/installer/{$hook_prefix}/activated_label", $text, $this->handler->get_slug(), $this->handler ); -
/** * Filters the activating label. */ apply_filters( "stellarwp/installer/{$hook_prefix}/activating_label", $text, $this->handler->get_slug(), $this->handler ); -
/** * Filters the busy class. */ apply_filters( "stellarwp/installer/{$hook_prefix}/busy_class", 'is-busy' ); -
/** * Filters the button classes. */ apply_filters( "stellarwp/installer/{$hook_prefix}/button_classes", $classes, $this->handler->get_slug(), $this->handler ); -
/** * Filters the button id. */ apply_filters( "stellarwp/installer/{$hook_prefix}/button_id", null, $this->handler->get_slug(), $this->handler ); -
/** * Fires when a plugin is deregistered. */ do_action( "stellarwp/installer/{$hook_prefix}/deregister_plugin", $plugin_slug ); -
/** * Filters the download URL for the resource. */ apply_filters( "stellarwp/installer/{$hook_prefix}/download_url", $this->download_url, $this->slug, $this ); -
/** * Filters the permission for installing the resource. */ apply_filters( "stellarwp/installer/{$hook_prefix}/get_permission", $this->permission, $this->slug, $this ); -
/** * Filters the error message for a plugin install. */ apply_filters( "stellarwp/installer/{$hook_prefix}/install_error_message", $message, $this->slug, $this ); -
/** * Filters the installing label. */ apply_filters( "stellarwp/installer/{$hook_prefix}/installed_label", $text, $this->handler->get_slug(), $this->handler ); -
/** * Filters the installing label. */ apply_filters( "stellarwp/installer/{$hook_prefix}/installing_label", $text, $this->handler->get_slug(), $this->handler ); -
/** * Filters the nonce name. */ apply_filters( "stellarwp/installer/{$hook_prefix}/nonce_name", 'stellarwp_installer_resource_install' ); -
/** * Fires when a plugin is registered. */ do_action( "stellarwp/installer/{$hook_prefix}/register_plugin", $plugin_slug, $plugin_name, $download_url ); -
/** * Filters the WordPress.org data for a plugin. */ apply_filters( "stellarwp/installer/{$hook_prefix}/wordpress_org_data", $api_results, $this->slug, $this ); -
/** * Fires before payment method tab navigation container */ do_action( 'woocommerce_review_order_before_submit' ); -
/** * Filters the failed order notice. Core WooCommerce applies the same filter on * its thank you page. */ apply_filters( 'woocommerce_thankyou_order_failed_text', __( 'Unfortunately your order cannot be processed as the originating bank/merchant has declined your transaction. Please attempt your purchase again.', 'woocommerce' ), $order ); -
apply_filters( 'cfw_continue_to_order_review_button', sprintf( '<button type="button" data-tab="#cfw-order-review" class="cfw-primary-btn cfw-next-tab cfw-continue-to-order-review-btn">%s</button>', $continue_to_order_review_label ) ); -
apply_filters( 'cfw_continue_to_payment_button', sprintf( '<button type="button" data-tab="#cfw-payment-method" class="%s"><span class="cfw-button-text">%s</span></button>', esc_attr( join( ' ', $args['classes'] ) ), $continue_to_payment_method_label ) ); -
apply_filters( 'cfw_continue_to_shipping_button', sprintf( '<button type="button" data-tab="#cfw-shipping-method" class="%s"><span class="cfw-button-text">%s</span></button>', esc_attr( join( ' ', $new_classes ) ), $continue_to_shipping_method_label ) ); -
apply_filters( 'cfw_enable_accessibility_improvements', false ); -
apply_filters_deprecated( 'cfw_enable_discrete_address_1_fields', [ $enable_separate_address_1_fields ], '10.0.0', 'cfw_enable_separate_address_1_fields' ); -
do_action( 'klarna_payments_template' ); -
apply_filters( 'nl_checkout_fields_priority', 9 ); -
wc_klarna_payments_available_payment_categories
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wc_klarna_payments_available_payment_categories', $payment_categories ); -
apply_filters( 'wcpn_checkout_fields_priority', 10, 'billing' ); -
do_action( "{$this->prefix}_settings_saved", $new_settings ?? [] ); -
apply_filters( 'cfw_checkout_page_heading', __( 'Checkout', 'checkout-wc' ) ); -
apply_filters( 'cfw_order_bump_get_price_context', 'cart', $cart_item, $bump ); -
apply_filters( 'cfw_template_payment_method_el', 'cfw-payment-method' ); -
apply_filters( 'cfw_template_tab_container_el', 'order_review' ); -
apply_filters( 'cfw_update_billing_email_field', $billing_fields ); -
apply_filters( 'edd_sl_api_request_verify_ssl', false, $this ); -
do_action( "in_plugin_update_message-{$file}", $plugin, $version_info ); -
apply_filters( 'sa_cfw_cfe_billing_fields_priority', 999 ); -
apply_filters( 'sa_cfw_cfe_shipping_fields_priority', 999 ); -
apply_filters( 'thwcfd_billing_fields_priority', 1000 ); -
apply_filters( 'thwcfd_shipping_fields_priority', 1000 ); -
thwcfd_woocommerce_checkout_fields_hook_priority
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'thwcfd_woocommerce_checkout_fields_hook_priority', 1000 ); -
apply_filters( 'wfob_print_placeholder', true, $slug ); -
do_action( 'woocommerce_after_checkout_billing_form', WC()->checkout() ); -
woocommerce_after_checkout_shipping_form
action Used by 48 plugins → Copy link Customise this hookdo_action( 'woocommerce_after_checkout_shipping_form', WC()->checkout() ); -
woocommerce_before_checkout_billing_form
action Used by 51 plugins → Copy link Customise this hookdo_action( 'woocommerce_before_checkout_billing_form', WC()->checkout() ); -
woocommerce_before_checkout_shipping_form
action Used by 47 plugins → Copy link Customise this hookdo_action( 'woocommerce_before_checkout_shipping_form', WC()->checkout() ); -
do_action( 'woocommerce_before_thankyou', $order->get_id() ); -
woocommerce_checkout_after_customer_details
action Used by 67 plugins → Copy link Customise this hookdo_action( 'woocommerce_checkout_after_customer_details' ); -
woocommerce_checkout_before_customer_details
action Used by 67 plugins → Copy link Customise this hookdo_action( 'woocommerce_checkout_before_customer_details' ); -
do_action( 'woocommerce_checkout_billing' ); -
do_action( 'woocommerce_review_order_before_payment' ); -
apply_filters( 'wpecp/register', $args, $asset ); -
apply_filters( "wpecp/register/{$asset}", $filtered );
Generated from CheckoutWC Lite'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: