Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,001
- How-to & Troubleshooting
- 129,418
- Creating & Extending
- 25,786
- Requests & Feedback
- 9,486
- Third Party Plugins
- 9,786
- Showcase
- 3,318
- Ideas
- 1,393
- Miscellaneous
- 9,169
-
Thanks r-a-y. Lots to learn and I always forget there’s so many ‘duplicates’ between BP and WP.
How does the bp_core_redirect() differ from this code in the thread you linked to (besides where it redirects)?
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);
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS