Abstract_WC_Order_Item_Type_Data_Store::save_item_data( WC_Order_Item $item )

Saves an item’s data to the database / item meta.

Description Description

Ran after both create and update, so $item->get_id() will be set.

Parameters Parameters


(Required) Order item object.

Top ↑

Source Source

File: includes/data-stores/abstract-wc-order-item-type-data-store.php

	public function save_item_data( &$item ) {}

Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.