Enter tracking number reference of WooCommerce

ex.

Woocommerce Wc_order_item : Useful Links

woocommerce.github.io

Order item class. Implemented by classes using the same CRUD(s) pattern. Interfaces, Classes and Traits. ArrayAccess ...

stackoverflow.com

WC_Order_Item_Product inherits from WC_Order_Item, which has get_order_id() , so you can get the Order ID with $order_item->get_order_id ...

woocommerce.github.io

includes/class-wc-order-item-product.php : 15. Order item product class. Implemented by classes using the same CRUD(s) pattern.

stackoverflow.com

Update (For WooCommerce 3+). Now for the code you can use WC_Order_Item_Product (and WC_Product ) methods instead, like:

github.com

@ param int|object|array $item ID to load from the DB, or WC_Order_Item object. */.

www.ibenic.com

This method is defined within the class WC_Order_Item . Each meta is formatted into an array that contains: key – the value of the meta_key ...

github.com

woocommerce/includes/class-wc-order-item-fee.php. Go to file.

gist.github.com

$meta The meta object. * @param WC_Order_Item $item The order item object. * @return string The title.


Related searches