Last active
January 31, 2017 21:14
-
-
Save petersplugins/4ce5d0c77dc68f0f5d952eceb43bcd2f to your computer and use it in GitHub Desktop.
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
<?php | |
// This code snippet stops WordPress from redirecting a variety of URLs to the admin area | |
remove_action( 'template_redirect', 'wp_redirect_admin_locations', 1000 ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment