Disable new user notification wordpress

To disable new user notification in WordPress, you can use the following methods:

Method 1: Using the WordPress Settings

  1. Log in to your WordPress dashboard.
  2. Go to Settings > General.
  3. Scroll down to the New User Default Role section.
  4. Select the option "Do not send a notification email to the site administrator".
  5. Click Save Changes.

Method 2: Using a Plugin

  1. Install and activate the Disable New User Notification plugin.
  2. Go to Settings > Disable New User Notification.
  3. Check the box next to "Disable new user notification".
  4. Click Save Changes.

Method 3: Using Code

  1. Add the following code to your theme's functions.php file:
    function disable_new_user_notification() {
     return false;
    }
    add_filter( 'new_user_notification', 'disable_new_user_notification' );
  2. Save the changes to your functions.php file.

Method 4: Using a Theme Function

  1. Add the following code to your theme's functions.php file:
    function disable_new_user_notification_email( $user_id ) {
     return false;
    }
    add_action( 'new_user_notification_email', 'disable_new_user_notification_email' );
  2. Save the changes to your functions.php file.

After implementing any of these methods, new user notifications will be disabled, and you will no longer receive emails when a new user registers on your WordPress site.