WC_Cart::get_totals()
Return all calculated totals.
Description Description
Return Return
(array)
Source Source
File: includes/class-wc-cart.php
public function get_totals() { return empty( $this->totals ) ? $this->default_totals : $this->totals; }
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |