Merge pull request #8523 from adnanoner/master
Add variable $order to action 'woocommerce_order_item_' . $item['type'] . '_html'
This commit is contained in:
commit
47eb3c5deb
|
@ -85,7 +85,7 @@ if ( wc_tax_enabled() ) {
|
||||||
|
|
||||||
include( 'html-order-item.php' );
|
include( 'html-order-item.php' );
|
||||||
|
|
||||||
do_action( 'woocommerce_order_item_' . $item['type'] . '_html', $item_id, $item );
|
do_action( 'woocommerce_order_item_' . $item['type'] . '_html', $item_id, $item, $order );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in New Issue