Created
January 17, 2014 13:51
-
-
Save noeltock/8473645 to your computer and use it in GitHub Desktop.
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
<?php | |
function change_landing_page() { | |
return admin_url( 'edit.php?post_type=page' ); | |
} | |
add_filter( 'login_redirect', 'change_landing_page' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment