Created
August 5, 2025 21:17
-
-
Save brinyemp4/e78f14cbbb664e99b51886431fad6b1c to your computer and use it in GitHub Desktop.
Change default WP lost password url
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function iws_load_lostpassword_url() { | |
| return site_url('/reset-password'); | |
| } | |
| add_filter('lostpassword_url', 'iws_load_lostpassword_url', 10); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment