Warning: This method has been deprecated. Item meta no longer expanded due to new order item classes. This function now does nothing to avoid data breakage instead.
WC_Abstract_Legacy_Order::expand_item_meta( array $item )
Expand item meta into the $item array.
Description Description
Parameters Parameters
- $item
-
(Required) before expansion.
Return Return
(array)
Source Source
File: includes/legacy/abstract-wc-legacy-order.php
public function expand_item_meta( $item ) { wc_deprecated_function( 'WC_Order::expand_item_meta', '3.0' ); return $item; }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |