pass all arguments to woocommerce_order_item_display_meta_value filter

This commit is contained in:
Gator92 2019-01-10 07:21:34 -05:00
parent 5117a65638
commit a240623f47
1 changed files with 1 additions and 1 deletions

View File

@ -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 ),
);
}
}