woocommerce_restock_refunded_items, true
woocommerce_restock_refunded_items, true
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_restock_refunded_items, true') is found 1 times:
- /includes/admin/meta-boxes/views/html-order-items.php line 355
<table class="wc-order-totals"> <?php if ( 'yes' === get_option( 'woocommerce_manage_stock' ) ) : ?> <tr> <td class="label"><label for="restock_refunded_items"><?php esc_html_e( 'Restock refunded items', 'woocommerce' ); ?>:</label></td> <td class="total"><input type="checkbox" id="restock_refunded_items" name="restock_refunded_items" <?php checked( apply_filters( 'woocommerce_restock_refunded_items', true ) ); ?> /></td> </tr> <?php endif; ?> <tr> <td class="label"><?php esc_html_e( 'Amount already refunded', 'woocommerce' ); ?>:</td> <td class="total">-<?php echo wc_price( $order->get_total_refunded(), array( 'currency' => $order->get_currency() ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></td> </tr>