Pass `$flat` variable to `woocommerce_order_items_meta_display` filter
Allow 3rd parties to determine if output should be flat.
This commit is contained in:
parent
b060559017
commit
1c8d5d42d1
|
@ -100,7 +100,7 @@ class WC_Order_Item_Meta {
|
|||
}
|
||||
}
|
||||
|
||||
$output = apply_filters( 'woocommerce_order_items_meta_display', $output, $this );
|
||||
$output = apply_filters( 'woocommerce_order_items_meta_display', $output, $this, $flat );
|
||||
|
||||
if ( $return ) {
|
||||
return $output;
|
||||
|
|
Loading…
Reference in New Issue