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

apply_filters('woocommerce_get_order_item_totals') is found 2 times:

  • /includes/abstracts/abstract-wc-order.php line 2393
    2389
    2390
    2391
    2392
    2393
    2394
    2395
    2396
    2397
    2398
    2399
        $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
    2404
    2405
    2406
    2407
    2408
    2409
    2410
    2411
    2412
    2413
    2414
        $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: