Title: lost_password_html_link
Published: November 2, 2022
Last modified: May 20, 2026

---

# apply_filters( ‘lost_password_html_link’, string $html_link )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/lost_password_html_link/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/lost_password_html_link/?output_format=md#source)
 * [Changelog](https://developer.wordpress.org/reference/hooks/lost_password_html_link/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/lost_password_html_link/?output_format=md#wp--skip-link--target)

Filters the link that allows the user to reset the lost password.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/lost_password_html_link/?output_format=md#parameters)󠁿

 `$html_link`string

HTML link to the lost password form.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/lost_password_html_link/?output_format=md#source)󠁿

    ```php
    echo apply_filters( 'lost_password_html_link', $html_link );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-login.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-login.php#L1595)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-login.php#L1595-L1595)

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/lost_password_html_link/?output_format=md#changelog)󠁿

| Version | Description | 
| [6.1.0](https://developer.wordpress.org/reference/since/6.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Flost_password_html_link%2F)
before being able to contribute a note or feedback.