Add "false" to Woo order item actions

Also add's formatting;

Per new Woo template files.
This commit is contained in:
Unknown 2018-03-22 14:08:29 -06:00 committed by zachary
parent b02fe37749
commit 25efb36719
1 changed files with 5 additions and 3 deletions

View File

@ -44,9 +44,11 @@ if ( ! defined( 'ABSPATH' ) ) {
<?php
echo apply_filters( 'woocommerce_order_item_name', esc_html( $item->get_name() ), $item, false ); // @codingStandardsIgnoreLine
do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order );
$order->display_item_meta( $item );
do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order );
do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, false );
wc_display_item_meta( $item );
do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, false );
?>
</td>
<td class="product-quantity"><?php echo apply_filters( 'woocommerce_order_item_quantity_html', ' <strong class="product-quantity">' . sprintf( '&times; %s', esc_html( $item['qty'] ) ) . '</strong>', $item ); ?></td>