Merge pull request #10581 from jeffstieler/add/html-order-items-before-item-hook
Fire action before order line items are rendered.
This commit is contained in:
commit
28366d9409
|
@ -83,6 +83,8 @@ if ( wc_tax_enabled() ) {
|
|||
$_product = $order->get_product_from_item( $item );
|
||||
$item_meta = $order->get_item_meta( $item_id );
|
||||
|
||||
do_action( 'woocommerce_before_order_item_' . $item['type'] . '_html', $item_id, $item, $order );
|
||||
|
||||
include( 'html-order-item.php' );
|
||||
|
||||
do_action( 'woocommerce_order_item_' . $item['type'] . '_html', $item_id, $item, $order );
|
||||
|
|
Loading…
Reference in New Issue