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 <?php
echo apply_filters( 'woocommerce_order_item_name', esc_html( $item->get_name() ), $item, false ); // @codingStandardsIgnoreLine 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 ); do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, false );
$order->display_item_meta( $item );
do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order ); wc_display_item_meta( $item );
do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, false );
?> ?>
</td> </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> <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>