Skip to main content

Need Help with Default WP Login Details Email.

Hi, please I need help customizing/stopping the default WP login details sent to a new user after registration. I turned the option to send default WP welcome message off in fluentcommunity but still managed to get that email.

I don't like how it pointed to default wp-login URL.

Need Help with Default WP Login Details Email.

AndrΓ© Salier

add_filter( 'wp_new_user_notification_email', 'disable_new_user_notification', 10, 2 );

function disable_new_user_notification( $email_data, $user ) {
$email_data['to'] = ''; // Entfernt den EmpfΓ€nger der E-Mail
return $email_data;
}

You can turn this off with this code.

Tim Olukayode

AndrΓ© SalierΒ Thank you so much. I will try it out.

Tim Olukayode

AndrΓ© SalierΒ Thank you. The code worked but because I use FluentAuth, anything new user signs up and enters verification code, nothing happens even though the verification has been successful, user get stocked on the verification code page except they go to the community url manually.

Tim Olukayode

AndrΓ© SalierΒ I finally found a plugin that solves the problem: Manage Notification E-mails by Virgial Berveling. Thank you.