WC_Cart::calculate_fees()
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() WC Cart::calculate fees code WC 9.7.1
public function calculate_fees() { do_action( 'woocommerce_cart_calculate_fees', $this ); }