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

apply_filters('woocommerce_get_order_item_totals') is found 2 times:

  • /includes/abstracts/abstract-wc-order.php line 2409
    2405
    2406
    2407
    2408
    2409
    2410
    2411
    2412
    2413
    2414
    2415
        $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 2418
    2414
    2415
    2416
    2417
    2418
    2419
    2420
    2421
    2422
    2423
    2424
        if ( $email_improvements_enabled ) {
            $this->add_order_item_totals_payment_method_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: