WC_Cart_Totals::calculate()
Run all calculation methods on the given items in sequence.
Description Description
Source Source
File: includes/class-wc-cart-totals.php
142 143 144 145 146 147 | protected function calculate() { $this ->calculate_item_totals(); $this ->calculate_shipping_totals(); $this ->calculate_fee_totals(); $this ->calculate_totals(); } |
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |