Created
July 5, 2024 10:55
-
-
Save webtoffee-git/51058ff96b6dd1207879ae01b51e6f9d to your computer and use it in GitHub Desktop.
Code to remove email restriction from gift card when sent from admin panel - By WebToffee (WooCommerce Gift Cards)
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 //Do not copy this line of code | |
add_filter( 'wt_gc_admin_coupon_set_email_restriction', '__return_false'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment