Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Two questions about the login process


Jan M.
Participant

@jotem

There’s a small function floating around in the forum that should help you:

function oci_login_redirect($redirect_to, $set_for, $user){
$redirect_to = bp_core_get_userurl($user->id);
return $redirect_to;
}
add_filter('login_redirect', 'oci_login_redirect', 10, 3);

Just put that in your mu-plugins/bp-custom.php.

Credits goes to burtadsit.

Skip to toolbar