woocommerce_blocks_cart_update_customer_from_request
woocommerce_blocks_cart_update_customer_from_request
Appears in: woocommerce.6.3.1
Hook Type: action
See hook in action
Displaying hooks found in version: woocommerce.6.3.1do_action('woocommerce_blocks_cart_update_customer_from_request') is found 1 times:
- /packages/woocommerce-blocks/src/StoreApi/Routes/CartUpdateCustomer.php line 119
* * @param \WC_Customer $customer Customer object. * @param \WP_REST_Request $request Full details about the request. */ do_action( 'woocommerce_blocks_cart_update_customer_from_request', $customer, $request ); $customer->save(); $this->calculate_totals(); return rest_ensure_response( $this->schema->get_item_response( $cart ) );