Send automatic email to user after wp_create_user April 17, 2022 by Tarik Billa You can use this: wp_new_user_notification( $user_id, $random_password);