Marc Blase

Disable New User Notification Emails in WordPress

I use this when doing bulk imports of users in dev environments.

add_filter( 'wp_new_user_notification_email', '__return_false', 10, 3 );

Add that to functions.php and you’re set. Users will not be notified.

Published on September 29, 2023