spivurno
6/16/2015 - 2:09 PM

Gravity Perks // GP Auto Login // Redirect to Custom URL on Auto Login

Gravity Perks // GP Auto Login // Redirect to Custom URL on Auto Login

/**
 * 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 );