How to Disable New User Notification Email in WordPress

If you have a WordPress site with a lot of users you will be extremely familiar with these new user registration emails.

WordPress new user registration email

These emails alerting you of a new user to your site can be extremely helpful but if you have users registering daily you might want to disable them.

It’s important to note that if you don’t want users registering on your WordPress site at all you can disable the feature. This is done by heading to Settings > General in the admin dashboard. From here simply uncheck “anyone can register”, this will prevent new users from registering on your site.

This article will assume you want users registering and just want to disable the email notifications.

Today I’ll show you two methods to disable new user registration emails in WordPress.

Video Tutorial


Disable New User Notification Emails using a WordPress Plugin

The easiest way to disable the new user notification email in Wordpress is to use the Manage Notification E-mails plugin. This plugin will allow you to disable a slew of admin related emails.

After installing and activating the plugin you’ll see a new option in your settings for “Notification e-mails”. Here you’ll be able to control a slew of WordPress email options.

WordPress notification e-mails options

While this plugin lets you disable options like password changes, new user notifications to users, and forgotten password emails we’re going to focus on the admin user notification option at the top of the page.

Unchecking the option for “New user notification to admin” will disable the email you get when new users sign up on your WordPress site.


Code Snippet to Disable New User Emails in WordPress

If you don’t prefer to use a plugin here’s a bit of PHP code you can use.

You can add this code snippet to your theme’s function.php file or to your site using a plugin like Code Snippets.

<?php
//Disable the new user notification sent to the site admin
function smartwp_disable_new_user_notifications() {
//Remove original use created emails
remove_action( 'register_new_user', 'wp_send_new_user_notifications' );
remove_action( 'edit_user_created_user', 'wp_send_new_user_notifications', 10, 2 );
//Add new function to take over email creation
add_action( 'register_new_user', 'smartwp_send_new_user_notifications' );
add_action( 'edit_user_created_user', 'smartwp_send_new_user_notifications', 10, 2 );
}
function smartwp_send_new_user_notifications( $user_id, $notify = 'user' ) {
if ( empty($notify) || $notify == 'admin' ) {
return;
}elseif( $notify == 'both' ){
//Only send the new user their email, not the admin
$notify = 'user';
}
wp_send_new_user_notifications( $user_id, $notify );
}
add_action( 'init', 'smartwp_disable_new_user_notifications' );

And just like that you should no longer be getting those “New User Registration” emails to your admin email address. I wouldn’t recommend disabling this if your site doesn’t get a lot of signups since you’ll want to know if you’re getting an influx of users.

Picture of Andy Feliciotti

Andy Feliciotti

Andy has been a full time WordPress developer for over 10 years. Through his years of experience has built 100s of sites and learned plenty of tricks along the way. Found this article helpful? Buy Me A Coffee

12 Responses

  1. Thank you so much! These emails are so annoying I don’t get why WP is not adding an option to disable these 😕 Cheers!

  2. How to prevent sending those emails to the users, too? I handle those confirmation mails with another plugin and now the user receives 2 registration notifications: the styled one from my other plugin + the unstyled default one from wp …

    1. I am facing the same problem here. I can’t seem to stop WordPress sending a default email to a newly registered user, and what’s worse is that this email sends the user a link to my default admin login page and not my custom login page which I made using theme my login … Would really appreciate some support on this!

      1. When adding a user there should be a checkbox that says “Send the new user an email about their account.”. Unchecking this won’t send an email to the new user.

        Let me know it that helps!

  3. Here you are disabling and I am searching for enabling. My website is not sending any email when user is registered, do you have any idea how to solve it? The mail is working fine, woocommerce is sending mail & I had also setup WP SMTP mail for it.

  4. Hello,
    I am using a cashback plugin along with woocommerce and I am using fluent SMTP plugin for sending emails and all other emails work fine but customers are not receiving any sign up or registration emails as soon as they sign up on my website, how do I enable sending emails to customers once they sign up ? Can someone help?

  5. How can we STOP wordpress from sending the new user email to the user – this is so frustrating and almost impossible to get a snippet or help to do this.

    Plugins are not working that are suggested for this purpose so a snippet like this one above, BUT for stopping the new user to user emails being auto sent out from wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *

WordPress Tips Monthly
Get the latest from SmartWP to your inbox.