
Changing Default View for BuddyPress User Profile Based on Context
In BuddyPress, If you visit a user's profile, you will most probably land on their activity page. The page that you see after clicking on a user's profile is called default component. By default, 'activity' is set as the default component. You can change the default component to any active component by putting the following …