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:
Hayden Whiteman 2018-04-23 13:45:07 +12:00 committed by GitHub
parent b060559017
commit 1c8d5d42d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;