string $lostpassword_redirect )
Filters the URL redirected to after submitting the lostpassword/retrievepassword form.
(string) The redirect destination URL.
lostpassword_redirectfilter is used to change the location redirected to after a user requests a password reset. This could be the location set by the “redirect_to” parameter sent to the forgot password page.
- This filter is to redirect the user following reset of the password. To filter the location of the password reset itself, use lostpassword_url.