Created
June 16, 2015 14:09
-
-
Save spivurno/b6d52f0d5d7692ee7ea5 to your computer and use it in GitHub Desktop.
Gravity Perks // GP Auto Login // Redirect to Custom URL on Auto 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
/** | |
* Gravity Perks // GP Auto Login // Redirect to Custom URL on Auto Login | |
*/ | |
add_filter( 'gpal_auto_login_on_redirect_redirect_url', function( $url, $user_id ) { | |
$url = 'http://mysite.com/my-custom-url/'; | |
return $url; | |
}, 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment