woocommerce_get_order_item_totals

woocommerce_get_order_item_totals

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_get_order_item_totals') is found 2 times:

  • /includes/abstracts/abstract-wc-order.php line 2393
    		$this->add_order_item_totals_fee_rows( $total_rows, $tax_display );
    		$this->add_order_item_totals_tax_rows( $total_rows, $tax_display );
    		$this->add_order_item_totals_total_row( $total_rows, $tax_display );
    
    		return apply_filters( 'woocommerce_get_order_item_totals', $total_rows, $this, $tax_display );
    	}
    
    	/*
    	|--------------------------------------------------------------------------
    	| Conditionals
    	|--------------------------------------------------------------------------
    
  • /includes/class-wc-order.php line 2408
    		$this->add_order_item_totals_payment_method_row( $total_rows, $tax_display );
    		$this->add_order_item_totals_refund_rows( $total_rows, $tax_display );
    		$this->add_order_item_totals_total_row( $total_rows, $tax_display );
    
    		return apply_filters( 'woocommerce_get_order_item_totals', $total_rows, $this, $tax_display );
    	}
    
    	/**
    	 * Check if order has been created via admin, checkout, or in another way.
    	 *
    	 * @since 4.0.0
    

See this hook used in plugins: