Filters the Lost Password URL.
$lostpassword_urlstring
$redirectstring
The filter is applied to the URL returned by the function wp_lostpassword_url() , allowing the developer to have that function direct users to a specific (different) URL for retrieving a lost password.
return apply_filters( 'lostpassword_url', $lostpassword_url, $redirect );
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/lostpassword_url