Stop Login Details Emails to New Users
Prevents WordPress from emailing new users their login details when an account is created, for sites that onboard users another way.
Opens WPIDE on
Code
add_filter( 'wp_send_new_user_notification_to_user', '__return_false' );
Notes
Users created this way need another route to set a password, such as "Lost your password?".
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.