woocommerce_update_order_item

woocommerce_update_order_item

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_update_order_item') is found 2 times:

  • /includes/data-stores/abstract-wc-order-item-type-data-store.php line 127
    		}
    		$item->apply_changes();
    		$this->clear_cache( $item );
    
    		do_action( 'woocommerce_update_order_item', $item->get_id(), $item, $item->get_order_id() );
    	}
    
    	/**
    	 * Remove an order item from the database.
    	 *
    	 * @param WC_Order_Item $item Order item object.
    
  • /includes/wc-order-item-functions.php line 62
    	if ( false === $update ) {
    		return false;
    	}
    
    	do_action( 'woocommerce_update_order_item', $item_id, $args );
    
    	return true;
    }
    
    /**
     * Delete an item from the order it belongs to based on item id.
    

See this hook used in plugins: