Created
April 26, 2015 08:42
-
-
Save SErr0r/ecc4921d4252778fb0e5 to your computer and use it in GitHub Desktop.
Redirect WordPress Failed Logins back to homepage
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
| // will redirect back to the blog's home page | |
| wp_login_form(array('redirect'=> site_url())); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you wish to redirect the user back to your blog homepage use the below code.