pass all arguments to woocommerce_order_item_display_meta_value filter
This commit is contained in:
parent
5117a65638
commit
a240623f47
|
@ -205,7 +205,7 @@ class WC_Order_Item_Meta {
|
|||
$formatted_meta[ $formatted_meta_key ] = array(
|
||||
'key' => $meta_key,
|
||||
'label' => wc_attribute_label( $attribute_key, $this->product ),
|
||||
'value' => apply_filters( 'woocommerce_order_item_display_meta_value', $meta_value ),
|
||||
'value' => apply_filters( 'woocommerce_order_item_display_meta_value', $meta_value, $this->meta, $this->item ),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue