WordPress at a glance
function is not described

WC_Order_Item_Data_Store_Interface::get_metadata() public WC 1.0

Get term meta.

{} It's a method of the class: WC_Order_Item_Data_Store_Interface{}

No Hooks.

Return

Mixed.

Usage

$WC_Order_Item_Data_Store_Interface = new WC_Order_Item_Data_Store_Interface();
$WC_Order_Item_Data_Store_Interface->get_metadata( $item_id, $key, $single );
$item_id(int) (required)
Item ID.
$key(string) (required)
Meta key.
$single(true/false)
Store as single value and not serialised (default: true).

Code of WC_Order_Item_Data_Store_Interface::get_metadata() WC 5.0.0

<?php
public function get_metadata( $item_id, $key, $single = true );