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.9.8.1

do_action('woocommerce_admin_order_totals_after_refunded') is found 1 times:

  • /includes/admin/meta-boxes/views/html-order-items.php line 273
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
        <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 ?>