Add woocommerce_after_order_refund_item_name hook

This commit is contained in:
Joro Stoyanov 2019-10-03 08:53:10 +03:00 committed by GitHub
parent db539803bf
commit 5c55eea31c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ $who_refunded = new WP_User( $refund->get_refunded_by() );
<p class="description"><?php echo esc_html( $refund->get_reason() ); ?></p>
<?php endif; ?>
<input type="hidden" class="order_refund_id" name="order_refund_id[]" value="<?php echo esc_attr( $refund->get_id() ); ?>" />
<?php do_action( 'woocommerce_after_order_refund_item_name', $refund ); ?>
</td>
<?php do_action( 'woocommerce_admin_order_item_values', null, $refund, $refund->get_id() ); ?>