WC_Cart::get_fee_total()publicWC 3.2.0

Get total fee amount.

Method of the class: WC_Cart{}

Hooks from the method

Return

float.

Usage

$WC_Cart = new WC_Cart();
$WC_Cart->get_fee_total();

Changelog

Since 3.2.0 Introduced.

WC_Cart::get_fee_total() code WC 8.7.0

public function get_fee_total() {
	return apply_filters( 'woocommerce_cart_' . __FUNCTION__, $this->get_totals_var( 'fee_total' ) );
}