Skip to content

Instantly share code, notes, and snippets.

@brinyemp4
Created August 5, 2025 21:17
Show Gist options
  • Select an option

  • Save brinyemp4/e78f14cbbb664e99b51886431fad6b1c to your computer and use it in GitHub Desktop.

Select an option

Save brinyemp4/e78f14cbbb664e99b51886431fad6b1c to your computer and use it in GitHub Desktop.
Change default WP lost password url
<?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