I would like to able to redirect to
get_bloginfo('url'); after reseting password.
But I cannot for life of me find any simple answer or function to do this.
Does anyone know if this is possible?
Here is a simple solution. Im hooking into
What it does, it runs on
UPDATE after comment
If you want to redirect the user after submitted a new password you only need to use the hook password_reset here is an example:
I can't see how the "UPDATE after comment" answer works.
The documentation for the 'password_reset' hook says "Fires before the user's password is reset.".
Since I had a similar need I developed my solution to the problem. We still respond to the "password_reset" hook but instead of performing the redirect immediately we add a hook for the "login_url" filter. And it's in this filter that we add the redirections to the home page after the user has logged in.