EDD_Cart::get_total( bool $discounts = false )

Get Total Cart Amount.


Description Description


Parameters Parameters

$discounts

(Optional) Array of discounts to apply (needed during AJAX calls)

Default value: false


Top ↑

Return Return

(float) Cart amount


Top ↑

Source Source

File: includes/cart/class-edd-cart.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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