WC_Cart::calculate_fees
Trigger an action so 3rd parties can add custom fees.
Method of the class: WC_Cart{}
Hooks from the method
Returns
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 10.7.0
public function calculate_fees() {
do_action( 'woocommerce_cart_calculate_fees', $this );
}