Last active
August 4, 2022 11:41
-
-
Save tdmrhn/9f223b3c78cba9d3cc46789cf49cb50c to your computer and use it in GitHub Desktop.
WP Login Redirect to Custom URL
This file contains 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
add_filter( 'login_url', function () { return home_url( '/my-account'); } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment