
Changing Default Subnav for a BuddyPress Component
When you click on a component on the BuddyPress User profile, the default subnav is the screen that will get rendered. Default subnav is registered when a component is registered with BuddyPress. BuddyPress does allows us changing it using the bp_core_new_nav_default function. It has following signature. * @param array|string $args { * @type string $parent_slug …

