How to remove WordPress registration notification emails

Registration Guide Email

When the WP-Members plugin is installed to add a membership registration feature to WordPress, a registration confirmation email like the one below is sent to the newly registered member.

It’s not that pretty, and it’s not being translated, so I want to get rid of it.

Delete notification email feature

It is called a notification mail, and it is sent when the WordPress core function wp_new_user_notification is executed.

By adding the content below to the function.php file of the active theme folder, you can disable the functionality of that function. This function is a pluggable function, so it can be redefined and replaced…

/* Remove the WordPress notification mailing feature that is sent by default to members upon new member registration */
if( !function_exists ( ‘wp_new_user_notification’)){
    function wp_new_user_notification ( $user_id, $notify = ” ) { }
}

Reference

Updated : March 25, 2020
{{ reviewsTotal }}{{ options.labels.singularReviewCountLabel }}
{{ reviewsTotal }}{{ options.labels.pluralReviewCountLabel }}
{{ options.labels.newReviewButton }}
{{ userData.canReview.message }}
This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.