woocommerce_store_api_checkout_update_customer_from_request, $customer, $request

woocommerce_store_api_checkout_update_customer_from_request, $customer, $request

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_store_api_checkout_update_customer_from_request, $customer, $request') is found 2 times:

  • /src/StoreApi/Routes/V1/Checkout.php line 936
    		 *
    		 * @param \WC_Customer $customer Customer object.
    		 * @param \WP_REST_Request $request Full details about the request.
    		 */
    		do_action( 'woocommerce_store_api_checkout_update_customer_from_request', $customer, $request );
    
    		$customer->save();
    	}
    
    	/**
    	 * Gets the chosen payment method from the request.
    
  • /src/StoreApi/Routes/V1/CheckoutOrder.php line 233
    		 *
    		 * @param \WC_Customer $customer Customer object.
    		 * @param \WP_REST_Request $request Full details about the request.
    		 */
    		do_action( 'woocommerce_store_api_checkout_update_customer_from_request', $customer, $request );
    
    		$customer->save();
    		$this->order->save();
    		$this->order->calculate_totals();
    	}