Created
August 28, 2012 22:53
-
-
Save pippinsplugins/3505086 to your computer and use it in GitHub Desktop.
Remove the restriction for one-time-only-discounts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function pw_edd_disable_single_use( $return, $code, $email ) { | |
| return false; | |
| } | |
| add_filter( 'edd_is_discount_used', 'pw_edd_disable_single_use', 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment