edd_get_discounted_amount( string $code,  $base_price )

Get Discounted Amount.


Description Description


Parameters Parameters

$code

(Required) Code to calculate a discount for.

(Required) string|int $base_price Price before discount.


Top ↑

Return Return

(string) Amount after discount.


Top ↑

Source Source

File: includes/discount-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.7 Updated to use EDD_Discount object.
1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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