woocommerce_get_order_item_totals filter-hookWC 1.0

Usage

add_filter( 'woocommerce_get_order_item_totals', 'wp_kama_woocommerce_get_order_item_totals_filter', 10, 3 );

/**
 * Function for `woocommerce_get_order_item_totals` filter-hook.
 * 
 * @param  $total_rows  
 * @param  $that        
 * @param  $tax_display 
 *
 * @return 
 */
function wp_kama_woocommerce_get_order_item_totals_filter( $total_rows, $that, $tax_display ){

	// filter...
	return $total_rows;
}
$total_rows
-
$that
-
$tax_display
-

Where the hook is called

WC_Order::get_order_item_totals()
woocommerce_get_order_item_totals
WC_Abstract_Order::get_order_item_totals()
woocommerce_get_order_item_totals
woocommerce/includes/class-wc-order.php 2101
return apply_filters( 'woocommerce_get_order_item_totals', $total_rows, $this, $tax_display );
woocommerce/includes/abstracts/abstract-wc-order.php 2202
return apply_filters( 'woocommerce_get_order_item_totals', $total_rows, $this, $tax_display );

Where the hook is used in WooCommerce

Usage not found.