@replace {{link}}
// Redirect a user after successful login
add_filter( 'login_redirect', function () {
return '{{link}}';
} );
@replace {{link}}
// Redirect a user after successful login
add_filter( 'login_redirect', function () {
return '{{link}}';
} );