WordPress at a glance
function is not described

WC_Order_Item_Data_Store_Interface::delete_metadata() public WC 1.0

Delete term meta.

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

No Hooks.


true|false. Nothing.


$WC_Order_Item_Data_Store_Interface = new WC_Order_Item_Data_Store_Interface();
$WC_Order_Item_Data_Store_Interface->delete_metadata( $item_id, $meta_key, $meta_value, $delete_all );
$item_id(int) (required)
Item ID.
$meta_key(string) (required)
Meta key.
Meta value (default: '').
Delete all matching entries? (default: false).

Code of WC_Order_Item_Data_Store_Interface::delete_metadata() WC 5.2.2

public function delete_metadata( $item_id, $meta_key, $meta_value = '', $delete_all = false );