WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Abstract_Order::get_order_item_totals() public WC 1.0

Get totals for display on pages and in emails.

{} Это метод класса: WC_Abstract_Order{}

Хуки из метода
Возвращает

Массив.

Использование

$WC_Abstract_Order = new WC_Abstract_Order();
$WC_Abstract_Order->get_order_item_totals( $tax_display );
$tax_display(смешанный)
Excl or incl tax display mode.
По умолчанию: ''

Код WC_Abstract_Order::get_order_item_totals() WC 4.7.0

<?php
public function get_order_item_totals( $tax_display = '' ) {
	$tax_display = $tax_display ? $tax_display : get_option( 'woocommerce_tax_display_cart' );
	$total_rows  = array();

	$this->add_order_item_totals_subtotal_row( $total_rows, $tax_display );
	$this->add_order_item_totals_discount_row( $total_rows, $tax_display );
	$this->add_order_item_totals_shipping_row( $total_rows, $tax_display );
	$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 );
}