edd_display_cart_discount( bool $formatted = false, bool $echo = false )

Show the fully formatted cart discount


Description Description

Note the $formatted paramter was removed from the display_cart_discount() function within EDD_Cart in 2.7 as it was a redundant parameter.


Parameters Parameters

$formatted

(Optional)

Default value: false

$echo

(Optional) Echo?

Default value: false


Top ↑

Return Return

(string) $amount Fully formatted cart discount


Top ↑

Source Source

File: includes/discount-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.4.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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