woocommerce_admin_order_totals_after_refunded

woocommerce_admin_order_totals_after_refunded

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_admin_order_totals_after_refunded') is found 1 times:

  • /includes/admin/meta-boxes/views/html-order-items.php line 265
    				<td width="1%"></td>
    				<td class="total refunded-total">-<?php echo wc_price( $order->get_total_refunded(), array( 'currency' => $order->get_currency() ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></td>
    			</tr>
    
    			<?php do_action( 'woocommerce_admin_order_totals_after_refunded', $order->get_id() ); ?>
    
    			<tr>
    				<td class="label label-highlight"><?php esc_html_e( 'Net Payment', 'woocommerce' ); ?>:</td>
    				<td width="1%"></td>
    				<td class="total">
    				<?php echo wc_price( $order->get_total() - $order->get_total_refunded(), array( 'currency' => $order->get_currency() ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>