Filters the URL redirected to after submitting the lostpassword/retrievepassword form.
Parameters
$lostpassword_redirect
string- The redirect destination URL.
Source
$redirect_to = apply_filters( 'lostpassword_redirect', $lostpassword_redirect );
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
Example migrated from Codex:
This simple example will redirect a user to the home_url() upon successful password reset.