Merge pull request #15290 from peterrath/New-action-for-display-custom-data-in-order-fee-lines
New action for display custom data in order fee lines
This commit is contained in:
commit
4ec3fe61f9
|
@ -22,6 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
<input type="hidden" class="order_item_id" name="order_item_id[]" value="<?php echo esc_attr( $item_id ); ?>" />
|
<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 esc_attr( $item->get_tax_class() ); ?>" />
|
<input type="hidden" name="order_item_tax_class[<?php echo absint( $item_id ); ?>]" value="<?php echo esc_attr( $item->get_tax_class() ); ?>" />
|
||||||
</div>
|
</div>
|
||||||
|
<?php do_action( 'woocommerce_after_order_fee_item_name', $item_id, $item, null ) ?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<?php do_action( 'woocommerce_admin_order_item_values', null, $item, absint( $item_id ) ); ?>
|
<?php do_action( 'woocommerce_admin_order_item_values', null, $item, absint( $item_id ) ); ?>
|
||||||
|
|
Loading…
Reference in New Issue