internal_woocommerce_cart_item_updated_from_user_request

internal_woocommerce_cart_item_updated_from_user_request

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.10.6.1

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