WordPress filter hook

woocommerce_checkout_update_order_review_expired

Defined by WooCommerce and fired by 6 plugins in total, running on 7.2M+ sites between them.

How to use woocommerce_checkout_update_order_review_expired

It's a filter: your callback receives the value, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'woocommerce_checkout_update_order_review_expired', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

6 plugins that fire woocommerce_checkout_update_order_review_expired

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. WooCommerce icon WooCommerce7+ million installs apply_filters( 'woocommerce_checkout_update_order_review_expired', true ) includes/class-wc-ajax.php:421
  2. CartFlows icon CartFlows200,000+ installs apply_filters( 'woocommerce_checkout_update_order_review_expired', true ) classes/class-cartflows-utils.php:765
  3. Fluid Checkout for WooCommerce icon Fluid Checkout for WooCommerce20,000+ installs apply_filters( 'woocommerce_checkout_update_order_review_expired', true ) inc/checkout-steps.php:3393
  4. Svea Checkout for WooCommerce icon Svea Checkout for WooCommerce800+ installs apply_filters( 'woocommerce_checkout_update_order_review_expired', true ) inc/Template_Handler.php:700
  5. Checkout Custom Fields Builder for WooCommerce icon Checkout Custom Fields Builder for WooCommerce30+ installs apply_filters( 'woocommerce_checkout_update_order_review_expired', true ) includes/Frontend/Woocommerce.php:164
  6. Invoice management for Woocommerce icon Invoice management for WoocommerceFewer than 10 installs apply_filters( 'woocommerce_checkout_update_order_review_expired', true ) includes/class-wc-ajax.php:297

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.