woocommerce_admin_order_item_values

woocommerce_admin_order_item_values

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_admin_order_item_values') is found 4 times:

  • /includes/admin/meta-boxes/views/html-order-fee.php line 28
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
        </div>
        <?php do_action( 'woocommerce_after_order_fee_item_name', $item_id, $item, null ); ?>
    </td>
     
    <?php do_action( 'woocommerce_admin_order_item_values', null, $item, absint( $item_id ) ); ?>
     
    <td class="item_cost" width="1%">&nbsp;</td>
    <td class="quantity" width="1%">&nbsp;</td>
     
    <td class="line_cost" width="1%">
        <div class="view">
  • /includes/admin/meta-boxes/views/html-order-item.php line 48
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
        <?php require __DIR__ . '/html-order-item-meta.php'; ?>
        <?php do_action( 'woocommerce_after_order_itemmeta', $item_id, $item, $product ); ?>
    </td>
     
    <?php do_action( 'woocommerce_admin_order_item_values', $product, $item, absint( $item_id ) ); ?>
     
    <td class="item_cost" width="1%" data-sort-value="<?php echo esc_attr( $order->get_item_subtotal( $item, false, true ) ); ?>">
        <div class="view">
            <?php
            echo wc_price( $order->get_item_subtotal( $item, false, true ), array( 'currency' => $order->get_currency() ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
            ?>
  • /includes/admin/meta-boxes/views/html-order-refund.php line 50
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
        <?php do_action( 'woocommerce_after_order_refund_item_name', $refund ); ?>
    </td>
     
    <?php do_action( 'woocommerce_admin_order_item_values', null, $refund, $refund->get_id() ); ?>
     
    <td class="item_cost" width="1%">&nbsp;</td>
    <td class="quantity" width="1%">&nbsp;</td>
     
    <td class="line_cost" width="1%">
        <div class="view">
  • /includes/admin/meta-boxes/views/html-order-shipping.php line 58
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
        <?php require __DIR__ . '/html-order-item-meta.php'; ?>
        <?php do_action( 'woocommerce_after_order_itemmeta', $item_id, $item, null ); ?>
    </td>
     
    <?php do_action( 'woocommerce_admin_order_item_values', null, $item, absint( $item_id ) ); ?>
     
    <td class="item_cost" width="1%">&nbsp;</td>
    <td class="quantity" width="1%">&nbsp;</td>
     
    <td class="line_cost" width="1%">
        <div class="view">

See this hook used in plugins: