New action for display order fee custom data

We need to display custom data in fee lines, similarly to woocommerce_after_order_itemmeta action in shipping line items.
This commit is contained in:
Peter 2017-05-26 10:05:26 +02:00 committed by GitHub
parent 0edb8904a1
commit 05516dbea5
1 changed files with 1 additions and 0 deletions

View File

@ -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" name="order_item_tax_class[<?php echo absint( $item_id ); ?>]" value="<?php echo esc_attr( $item->get_tax_class() ); ?>" />
</div>
<?php do_action( 'woocommerce_after_order_fee_item_tax', $item_id, $item, null ) ?>
</td>
<?php do_action( 'woocommerce_admin_order_item_values', null, $item, absint( $item_id ) ); ?>