Stop Password and Email Change Confirmations
Stops WordPress from emailing users when their password or email address is changed, for example during bulk imports.
Opens WPIDE on
Code
add_filter( 'send_password_change_email', '__return_false' );
add_filter( 'send_email_change_email', '__return_false' );
Notes
These emails alert users to account takeovers. Consider enabling the snippet only while importing.
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.