Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How Do I Change Default Members Profile Landing Tab – Step by step?

@shanebp

Moderator

afaik, when that hook runs, the user is not logged in yet. Try using a login hook, like login_redirect.
btw – try to use BP functions, especially if you plan to distribute your code.
wp_redirect( bp_loggedin_user_domain() . '/profile/edit/group/1/' );

The default component constant applies to all visitors. Visitors and other members cannot edit the profile fields of another user.

Skip to toolbar