Try:
function custom_user_login_redirect( redirect_to, $redirect_to_raw, $user ) {
$redirect_to = bp_loggedin_user_domain();
return $redirect_to;
}
add_filter('bp_login_redirect','custom_user_login_redirect',10,3);
Related Posts:
- Redirect after User Activation [closed]
- how to make a profile entry read only except for site managers [closed]
- Forcing WordPress to work differently
- How to display text if profile fields are not filled?
- Make display name unique
- How to create a public profile for authors/contributors/users?
- Force users to complete their profile after they register? How to
- Upload gravatar in WP profile?
- BuddyPress | Check if user is in current group [closed]
- Redirecting user after updating profile?
- add ‘file upload’ field to user details
- Completely hide user info
- Drop down list in user profile page
- Redirect User to Homepage if no other redirect is specified
- Buddypress – Send New User Activation Link to Admin [closed]
- How can I add an image field to BuddyPress Extended Profile Fields? [closed]
- Changing default Buddypress avatar affects all site avatars (because gravatar)
- Custom style on profile options page
- Redirect after users complete profile form
- Add custom fields to the user profile
- Cannot set user passwords
- List User Comments on User Profile BuddyPress [closed]
- Is there any function available to echo current user’s profile url?
- Redirect users based on custom field
- How to add local users to wordpress without email password?
- Disable user profile editing for one user
- Rule to redirect non logged in User to Custom Registration/login Page in .htaccess file
- Redirect user to login before viewing custom post
- Remove user profile field [duplicate]
- How to add a user profile page to frontend?
- Is there a way to make custom fields only editable by administrators?
- Redirect subscribers to last viewed page after log-in
- Redirect user after successful email change
- Editable registration date field in user profile
- WP_User_List -> How to open a new edit-page in WordPress admin backend!
- Profile page for user roles
- How to stop redirect if user is already on correct page (Using Case Switch)
- User profile updates password even if not filled (Theme my login) in Firefox? [closed]
- WP not logging in at first time
- How to Create a User Profile Page?
- Prevent subscribers to changing certain profile fields
- Creating User Profiles using author.php
- How to check User Role and redirect to specific page according to Role when login in WordPress?
- Create a “user log”
- How can I do a url redirect to include a wordpress username?
- What is correct way to change user’s email?
- Redirect logged on user to a specific page based on wp user role, page id
- How to hide user profile fields based on the role of the viewed user?
- Redirect users after login
- Redirect user to login if not logged in, on specific pages
- How to make current user’s avatar + display name link to their profile?
- Change user slug in Buddypress
- Give users alternative/second avatar that is rectangle sized
- User can manage one page accessible by everyone?
- WordPress Redirect Specific User. Tired of Peter’s redirect Plugin its not working
- Redirect current user to their most recent custom post
- how redirect users to custom login page when “login to reply” is clicked? [duplicate]
- How to display all user profile info in myaccount page wordpress
- How to add extra field in profile page and show in myaccount?
- wp_delete_user – huge overhead in Buddypress?
- WordPress 5.8 – Hide or Remove personal fields from admin Profile page
- How do I update user email from frontend input field?
- How to remember which page the user was on before logout?
- How to display extra fields for user
- I need a link that directs the user that is logged to his profile
- How can i display pagination in custom comment list?
- How can i add user display name drop down menu in frontend?
- How to create page for user?
- How to make custom user profile page public?
- Redirect /member/ to /member/user
- update custom field user profile from front end form
- Specific Content on pages based on user
- Redirect current user
- Require confirmation of current user’s email before updating database and before send_email_change_email
- Showing extra profile fields in admin – problem with underscore
- Restrict Access to the User Profile
- Add an ‘edit profile’ page with Genesis
- Set user role on registration so can upload file to own media library area
- Manage user profiles with WordPress
- Separate Profiles for Users
- Fetching posts that match a User Profile setting
- How to create a link to a user’s profile page
- Validate user meta and redirect
- Designing a member area on my site
- Does WordPress Need BuddyPress to Handle Large Amounts of Users?
- Storing additional information about the user
- Modify Profile Biographical Info Field
- Redirect based on log-in status per JavaScript
- Buddypress – New user type with no profile and can’t interact but can be admin of a group
- How to create front-end (editable) WordPress user profile pages?
- Disable editing profile for second time
- What techniques can a user employ to achieve a password rated “strong” in the WordPress password checker
- Redirect user based on role when they try access a particular page
- Cant edit profile from frontend
- Can we get user profile page using user_id in the URL?
- Buddypress: “Auto load” specific usermeta in WP?
- Force Profile link for username, and stop “Website” field on Profile from becoming offsite link atop Comments, in “Recent Comments” list, etc
- Default Usermeta Entries for every newly created user?
- If the current user is an administrator or editor
- Editor can create any new user except administrator