Created
December 3, 2018 08:48
-
-
Save AshlinRejo/6c47cd4c4fac36ab619a8f25523496be to your computer and use it in GitHub Desktop.
Woo Email: Disable the new account email method
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
if(!function_exists('woo_email_customizer_enable_new_user_notification_method')){ | |
function woo_email_customizer_enable_new_user_notification_method($allow, $user_id){ | |
return false; | |
} | |
} | |
add_filter('woo_email_customizer_enable_new_user_notification_method', 'woo_email_customizer_enable_new_user_notification_method', 10, 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment