diff --git a/src/wp-login.php b/src/wp-login.php index b0dd2b2f6d..c74f33f5cc 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -1103,8 +1103,16 @@ switch ( $action ) { %s', esc_url( wp_lostpassword_url() ), __( 'Lost your password?' ) ); + + /** + * Filters the link that allows the user to retrieve the lost password. + * + * @since 6.1.0 + * + * @param string $html_link HTML link to the lost password form. + */ + echo apply_filters( 'lost_password_html_link', $html_link ); + ?> -