Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,869
- Creating & Extending
- 25,900
- Requests & Feedback
- 9,548
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,403
- Miscellaneous
- 9,178
-
bp_core_new_nav_item doesn’t need
‘parent_url’ => $bp->displayed_user->domain,
‘parent_slug’ => $bp->profile->slug,
remove those.
create a function to redirect
function my_redirect() {
if ( 'community' === bp_current_component() ) {
bp_core_redirect( 'your link here );
}
}
add_action( 'template_redirect', 'my_redirect' );