Redirect After Login

ThemeMyLogin devs are removing redirect after login function from the free version, so we will have to find another way. WP default sends users to their admin panel, which is silly for non-admins or non-authors, and confusing.

I found lots of convoluted stuff and bloated plug-ins, but this worked on clickforafrica.org:

function login_redirect( $redirect_to, $request, $user ){
    return home_url('members');
}
add_filter( 'login_redirect', 'login_redirect', 10, 3 );

To add to functions.php without losing it each upgrade, make a site-specific plug-in. Or use something like Code Snippets.