On this page
apply_filters( 'lostpassword_url', string $lostpassword_url, string $redirect )
Filters the Lost Password URL.
Parameters
$lostpassword_urlstring-
The lost password page URL.
$redirectstring-
The path to redirect to on login.
More Information
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.
Source
File: wp-includes/general-template.php. View all references
return apply_filters( 'lostpassword_url', $lostpassword_url, $redirect );
Related
Used By
| Used By | Description |
|---|---|
| wp_lostpassword_url() wp-includes/general-template.php | Returns the URL that allows the user to reset the lost password. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/lostpassword_url