Disable Welcome Emails for New Sites and Users
Stops the "Your new site" and "New user account" welcome emails WordPress multisite sends after activation, for networks that send their own onboarding.
Opens WPIDE on
Code
if ( ! is_multisite() ) {
return;
}
add_filter( 'wpmu_welcome_notification', '__return_false' );
add_filter( 'wpmu_welcome_user_notification', '__return_false' );
Notes
Activation emails sent before an account exists are not affected.
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.