edd_discount_exists( int $code_id )

Checks to see if a discount code already exists.


Description Description


Parameters Parameters

$code_id

(Required) Discount ID.


Top ↑

Return Return

(bool) Whether or not the discount exists.


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.