One page checkout and layouts for woocommerce 4.1.4 has 26 actions and 17 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 One page checkout and layouts for woocommerce fires an action
add_action( 'woocommerce_review_order_after_cart_contents', function() {
// Your code runs here.
}, 10, 1 );
// Change a value One page checkout and layouts for woocommerce is about to use
add_filter( 'woocommerce_cart_item_name', function( $value, $cart_item, $cart_item_key ) {
// 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
-
apply_filters( 'woocommerce_cart_item_name', $_product->get_name(), $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_subtotal', WC()->cart->get_product_subtotal( $_product, $cart_item['quantity'] ), $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ); -
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_before_cart_contents
action Used by 40 plugins β Copy link Customise this hookdo_action( 'woocommerce_review_order_before_cart_contents' ); -
do_action( 'cclw_payment_section' ); -
do_action( 'cclw_review_order_section' ); -
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_after_shipping_rate', $method, $index ); -
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 ); -
apply_filters( 'woocommerce_cart_item_class', 'cart_item', $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_permalink', $_product->is_visible() ? $_product->get_permalink( $cart_item ) : '', $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_thumbnail', $_product->get_image(array( 50, 80 )), $cart_item, $cart_item_key ); -
woocommerce_cart_no_shipping_available_html
filter Used by 27 plugins β Copy link Customise this hookapply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'woocommerce' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ) ); -
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_customer_details
action Used by 67 plugins β Copy link Customise this hookdo_action( 'woocommerce_checkout_before_customer_details' ); -
woocommerce_checkout_before_order_review
action Used by 66 plugins β Copy link Customise this hookdo_action( 'woocommerce_checkout_before_order_review' ); -
do_action( 'woocommerce_checkout_billing' ); -
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.', '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 ); -
apply_filters( 'woocommerce_enable_order_notes_field', 'yes' === get_option( 'woocommerce_enable_order_comments', 'yes' ) ); -
apply_filters( 'woocommerce_get_checkout_url', wc_get_checkout_url() ); -
apply_filters( 'woocommerce_no_shipping_available_html', __( 'There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help.', 'woocommerce' ) ); -
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_shipping' ); -
woocommerce_review_order_before_order_total
action Used by 42 plugins β Copy link Customise this hookdo_action( 'woocommerce_review_order_before_order_total' ); -
woocommerce_review_order_before_shipping
action Used by 45 plugins β Copy link Customise this hookdo_action( 'woocommerce_review_order_before_shipping' ); -
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 ); -
apply_filters( 'woocommerce_shipping_estimate_html', __( 'Shipping options will be updated during checkout.', 'woocommerce' ) ); -
woocommerce_shipping_may_be_available_html
filter Used by 29 plugins β Copy link Customise this hookapply_filters( 'woocommerce_shipping_may_be_available_html', __( 'Enter your address to view shipping options.', 'woocommerce' ) );
Generated from One page checkout and layouts 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: