Created
April 4, 2017 00:51
-
-
Save trevorgreenleaf/a127088eefb39a90501b37a6153fcd51 to your computer and use it in GitHub Desktop.
Wordpress Redirect on Login
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
function admin_default_page() { | |
return '/new-dashboard-url'; | |
} | |
add_filter('login_redirect', 'admin_default_page'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment