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.8.7.0

do_action('woocommerce_update_order_item') is found 2 times:

  • /includes/data-stores/abstract-wc-order-item-type-data-store.php line 91
    		$item->save_meta_data();
    		$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.
    	 *
    	 * @since 3.0.0
    
  • /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: