WordPress at a glance
function is not described

WC_Order_Item_Data_Store_Interface::update_metadata() public WC 1.0

Update term meta.

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

No Hooks.

Return

true/false.

Usage

$WC_Order_Item_Data_Store_Interface = new WC_Order_Item_Data_Store_Interface();
$WC_Order_Item_Data_Store_Interface->update_metadata( $item_id, $meta_key, $meta_value, $prev_value );
$item_id(int) (required)
Item ID.
$meta_key(string) (required)
Meta key.
$meta_value(mixed) (required)
Meta value.
$prev_value(string)
Previous value (default: '').

Code of WC_Order_Item_Data_Store_Interface::update_metadata() WC 5.0.0

<?php
public function update_metadata( $item_id, $meta_key, $meta_value, $prev_value = '' );