/** * Redirect default Password Reset URL */ add_filter( 'lostpassword_url', 'my_lostpassword_url', 10, 0 ); function my_lostpassword_url() { return site_url('/password-reset/'); }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter