WC_Cart::get_totals()

Return all calculated totals.


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/class-wc-cart.php

	public function get_totals() {
		return empty( $this->totals ) ? $this->default_totals : $this->totals;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.