WC_Cart::calculate_fees()publicWC 2.0.0

Trigger an action so 3rd parties can add custom fees.

Method of the class: WC_Cart{}

Hooks from the method

Return

null. Nothing (null).

Usage

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

Changelog

Since 2.0.0 Introduced.

WC_Cart::calculate_fees() code WC 8.6.1

public function calculate_fees() {
	do_action( 'woocommerce_cart_calculate_fees', $this );
}