W3cubDocs

/WordPress

apply_filters( 'lostpassword_url', string $lostpassword_url, string $redirect )

Filters the Lost Password URL.

Parameters

$lostpassword_url

(string) The lost password page URL.

$redirect

(string) The path to redirect to on login.

Source

File: wp-includes/general-template.php

View on Trac

Changelog

Version Description
2.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/lostpassword_url