Created
April 7, 2020 09:23
-
-
Save wpweb101/c65da7fa84915c1511d75dcdaad64bfd to your computer and use it in GitHub Desktop.
WooCommerce Points and Rewards - code to stop receiving email for the vendor
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
| <?php | |
| // add this code inside the functions.php file of your child theme | |
| function woo_pr_disable_vender_notification_email($enable){ | |
| $enable = false; // will not send the notification email to the venodr | |
| return $enable; | |
| } | |
| add_filter( 'woo_pr_disable_vender_notification_email', 'woo_pr_disable_vender_notification_email',10,1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment