Created
February 11, 2015 07:59
-
-
Save bordoni/4a7fcb12995adcc62afc 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 | |
// Register Redirect | |
add_filter( 'registration_redirect', '_forum_tec_registration_redirect' ); | |
function _forum_tec_registration_redirect() { | |
return home_url( '/events/community/add' ); | |
} | |
// Login Redirect | |
add_filter( 'login_redirect', '_forum_tec_login_redirect' ); | |
function _forum_tec_login_redirect() { | |
// Change this to the url to Updates page. | |
return home_url( '/events/community/add' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment