WC_Order_Item_Fee::get_total() – Get total fee.

You appear to be a bot. Output may be restricted

Description

Get total fee.

Usage

$string = WC_Order_Item_Fee::get_total( $context );

Parameters

$context
( string ) optional default: view – What the value is for. Valid values are 'view' and 'edit'.

Returns

string

Source

File name: woocommerce/includes/class-wc-order-item-fee.php
Lines:

1 to 3 of 3
  public function get_total( $context = 'view' ) {
    return $this->get_prop( 'total', $context );
  }
 

 View on GitHub View on Trac