How to receive notifications when a new user registers

This is an easy way to get to get emails upon user registration – just needs to be added to your function.php file. function registration_email_alert($user_id) { $message = strip_tags($_POST[‘user_login’]). ‘ – ‘ . strip_tags($_POST[‘user_email’]) . ‘ Has Registered To Your Website’; wp_mail( ‘[email protected]’, ‘New User Has Registered’, $message ); } add_action(‘user_register’, ‘registration_email_alert’); I’m sure there’s … Read more

Register users without confirmation

Well there is a function called wp_new_user_notification() which is pluggable you can alter it to stop user registration email: if ( ! function_exists( ‘wp_new_user_notification’ ) ) { function wp_new_user_notification( $user_id, $plaintext_pass=”” ) { return false; // because we don’t need to send email. } }