Change Default Members Profile Landing Tab

By default, BuddyPress will load the Activity tab when clicking on a member’s profile link. If you would like to change this default landing tab to something else than the Activity tab you can do so.

Constants such as this are best placed in files that load before BP is fully loaded. Add the code below to either wp-config.php or bp-custom.php (which you would create in your plugin folder as this file does not exist by default). file.

 * Change BuddyPress default Members landing tab.
define('BP_DEFAULT_COMPONENT', 'profile' );

This example will load the ‘profile’ tab instead of the ‘activity’ screen it’s fairly easy and you can take any other option from the tabs-menu.

Log in with your credentials

Forgot your details?