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.


Top ↑

Return Return

(array)


Top ↑

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;
	}

Top ↑

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