Is it possible to make a specific profile subtab the default for a profile?
-
I found a method via Googling that does not work:
function my_change_profile_default_subnav() { global $bp; bp_core_new_nav_default(array( ‘parent_slug’ => $bp->profile->slug, ‘screen_function’ => ‘bp_profile_screen_edit’, ‘subnav_slug’ => ‘all-activity’) ); } add_action( ‘bp_setup_nav’, ‘my_change_profile_default_subnav’, 5 );
Is there an updated version of this code?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.