woocommerce_blocks_cart_update_customer_from_request

woocommerce_blocks_cart_update_customer_from_request

Appears in:
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.6.3.1

do_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 ) );
    

See this hook used in plugins: