Merge pull request #6309 from quadshot/before-oi-meta
filter for adding info before order item itemmeta in order metabox
This commit is contained in:
commit
a91c74d794
|
@ -47,6 +47,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
<input type="hidden" class="order_item_id" name="order_item_id[]" value="<?php echo esc_attr( $item_id ); ?>" />
|
||||
<input type="hidden" name="order_item_tax_class[<?php echo absint( $item_id ); ?>]" value="<?php echo isset( $item['tax_class'] ) ? esc_attr( $item['tax_class'] ) : ''; ?>" />
|
||||
|
||||
<?php do_action( 'woocommerce_before_order_itemmeta', $item_id, $item, $_product ) ?>
|
||||
|
||||
<div class="view">
|
||||
<?php
|
||||
global $wpdb;
|
||||
|
@ -146,6 +148,9 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php do_action( 'woocommerce_after_order_itemmeta', $item_id, $item, $_product ) ?>
|
||||
|
||||
</td>
|
||||
|
||||
<?php do_action( 'woocommerce_admin_order_item_values', $_product, $item, absint( $item_id ) ); ?>
|
||||
|
|
Loading…
Reference in New Issue