woocommerce_checkout_update_order_review

woocommerce_checkout_update_order_review

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_checkout_update_order_review') is found 1 times:

  • /includes/class-wc-ajax.php line 352
    		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' );
    		$posted_shipping_methods = isset( $_POST['shipping_method'] ) ? wc_clean( wp_unslash( $_POST['shipping_method'] ) ) : array();
    
    		if ( is_array( $posted_shipping_methods ) ) {
    			foreach ( $posted_shipping_methods as $i => $value ) {