Created
November 11, 2017 15:35
-
-
Save danielbitzer/4083d41350e6f74e19880ee6339c7b8a to your computer and use it in GitHub Desktop.
AutomateWoo - Add email restriction to uniquely generated workflow coupons
This file contains 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
<?php | |
// added in v3.3.3 | |
add_filter( 'automatewoo/variables/coupons/use_email_restriction', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does this restrict a generated coupon to an email address in the "allowed emails" field on the coupon?