internal_woocommerce_cart_item_updated_from_user_request
internal_woocommerce_cart_item_updated_from_user_request
Appears in: woocommerce.10.6.1
Hook Type: action
Displaying hooks found in version: woocommerce.10.6.1do_action('internal_woocommerce_cart_item_updated_from_user_request') is found 2 times:
- /includes/class-wc-form-handler.php line 754
* @param \WC_Cart $cart Cart object. * * @since 10.6.0 */ do_action( 'internal_woocommerce_cart_item_updated_from_user_request', $cart_item_key, $quantity, $old_quantity, WC()->cart ); } } } // Trigger action - let 3rd parties update the cart if they need to and update the $cart_updated variable. $cart_updated = apply_filters( 'woocommerce_update_cart_action_cart_updated', $cart_updated );
- /src/StoreApi/Routes/V1/CartUpdateItem.php line 89
* @param \WC_Cart $cart Cart object. * * @since 10.6.0 */ do_action( 'internal_woocommerce_cart_item_updated_from_user_request', $request['key'], (int) $request['quantity'], $old_quantity, $cart ); } } return rest_ensure_response( $this->schema->get_item_response( $cart ) ); } }