woocommerce_checkout_update_order_review_expired

woocommerce_checkout_update_order_review_expired

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_checkout_update_order_review_expired') is found 1 times:

  • /includes/class-wc-ajax.php line 348
    		check_ajax_referer( 'update-order-review', 'security' );
    
    		wc_maybe_define_constant( 'WOOCOMMERCE_CHECKOUT', true );
    
    		if ( WC()->cart->is_empty() && ! is_customize_preview() && apply_filters( 'woocommerce_checkout_update_order_review_expired', true ) ) {
    			self::update_order_review_expired();
    		}
    
    		do_action( 'woocommerce_checkout_update_order_review', isset( $_POST['post_data'] ) ? wp_unslash( $_POST['post_data'] ) : '' ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
    
    		$chosen_shipping_methods = WC()->session->get( 'chosen_shipping_methods' );