Add "false" to Woo order item actions
Also add's formatting; Per new Woo template files.
This commit is contained in:
parent
b02fe37749
commit
25efb36719
|
@ -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( '× %s', esc_html( $item['qty'] ) ) . '</strong>', $item ); ?></td>
|
||||
|
|
Reference in New Issue