I would like to stop Wordpress admin email notifications being sent for user registration. I have a feed that registers new users, with no activation step, and the password is set in the form.
I have replaced the default function with the code below, but am still receiving admin notices with the subject “[Site Name] New User Registration”…
if ( ! function_exists( 'wp_new_user_notification' ) ) :
function wp_new_user_notification( $user_id, $deprecated = null, $notify = '' ) {
return;
}
endif;