This question already has an answer here:
I am setting up a closed network based on WP. All users are added by an administrator and are given an username and password. I have also added some user fields with the
add_action('user_new_form' hook. Besides saving the user data as user metadata, the data is also stored in a custom db table.
I like to built an "resend password" option for the administrator. I don't want to sent a reset password as the administrator is the one who can reset a password if necessary. Can this be done? Or should i store the password also as plain text in the custom db table and use it in an email?