Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,006
- How-to & Troubleshooting
- 129,530
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,398
- Miscellaneous
- 9,170
-
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