I am passing the unhashed password to a different system when user clicks forgot password and changes it. I also want to do the same when the Admin changes the user password from the dashboard and click update. Is there any hook that when admin edits user details i can get the user id and their edited information so i can insert it in anther table. I have tried using
add_action( 'password_reset', 'my_password_reset', 10, 2 );
But it only works for forgot password?
Any suggestions will be highly appreciated
Hello try this code.
you will get all the data. Let me know if you find any query on answer.