Constructor.
public __construct ( array $item = [], WC_Product $product = null ) | ||
$item | array | defaults to array() |
$product | WC_Product | defaults to null |
public function __construct() { //_deprecated_function( 'order_item_meta', '1.6.4', 'WC_Order_Item_Meta()' ); parent::__construct(); }