bp_core_new_nav_default()

This function changes the default subnav item of a parent item. Example: This changes the default subnav of the “Settings” nav item to “Notifications” NOTE: The 5 priority flag is required Source File bp_core_new_nav_default() is located in bp-core/bp-core-buddybar.php