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

do_action('woocommerce_admin_order_item_values') is found 4 times:

  • /includes/admin/meta-boxes/views/html-order-fee.php line 28
    		</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
    		<?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
     
    		<?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
    		<?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: