edd_set_cart_discount( string $code = '' )

Set the active discount for the shopping cart


Description Description


Parameters Parameters

$code

(Optional) Discount code

Default value: ''


Top ↑

Return Return

(string[]) All currently active discounts


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.