BP_DEFAULT_COMPONENT no longer working
-
Hi guys,
I’ve using define(‘BP_DEFAULT_COMPONENT’, ‘dashboard’ ); in my functions.php but it’s no longer working since a few updates ago.
I’m using a custom bp_core_new_nav_item
bp_core_new_nav_item( array( 'name' => 'Dashboard', 'slug' => 'dashboard', 'parent_url' => $bp->displayed_user->domain, 'parent_slug' => $bp->profile->slug, 'screen_function' => 'dashboard_screen', 'position' => 1, 'default_subnav_slug' => 'dashboard' ) );
This no longer takes me to the dashboard function rather to the profile overview.
Any ideas?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.