Forked from tamarazuk/wc-csv-import-disable-customer-change-emails.php
Created
March 31, 2020 03:55
-
-
Save KoolPal/11b317d621cbab1325e3de171ecc5695 to your computer and use it in GitHub Desktop.
WooCommerce CSV Import - Disable WP user email/password change emails
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 // only copy this line if needed | |
add_filter( 'send_password_change_email', '__return_false' ); | |
add_filter( 'send_email_change_email', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment