WC_Cart::calculate_fees()publicWC 2.0.0

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

{} It's a method of the class: WC_Cart{}

Hooks from the method

Return

null. Nothing.

Usage

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

Changelog

Since 2.0.0 Introduced.

Code of WC_Cart::calculate_fees() WC 6.7.0

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