Change the name of the new action

Change the name of the new action to woocommerce_after_order_fee_item_name.
This commit is contained in:
Peter 2017-05-28 20:40:59 +02:00 committed by GitHub
parent 05516dbea5
commit 314f64b566
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +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_tax', $item_id, $item, null ) ?> <?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 ) ); ?>