Disable User Email Notifications in WordPress

Mar 30, 2023

To disable the default WordPress email that is sent to users after they register, you can add a small code snippet to your WordPress site’s functions.php file.

Here are the steps you can follow:

1. Login to your WordPress dashboard and navigate to Appearance > Theme Editor

2. Click on the “functions.php” file from the list of files on the right-hand side.

3. Add the following code at the bottom of the functions.php file:

function disable_new_user_notification_email( $user_id ) {
   return null;
}
add_filter( 'wp_new_user_notification_email', 'disable_new_user_notification_email' );

4. Click on the “Update File” button to save the changes.

This code will disable the default email that is sent to users after they register on your WordPress site. Please note that this will not affect any other emails that your site may send out.

Skip to content