Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Remove ‘Send Invites’ from Members profile tab – only on group

@startershut

Participant

I have found the part of the code to remove and have removed the below
bp_core_new_nav_item( array(
‘name’ => __( ‘Send Invites’, ‘invite-anyone’ ),
‘slug’ => $bp->invite_anyone->slug,
‘position’ => 80,
‘screen_function’ => ‘invite_anyone_screen_one’,
‘default_subnav_slug’ => ‘invite-new-members’,
‘show_for_displayed_user’ => invite_anyone_access_test()
) );

from the following file:
invite-anyone/by-email/by-email.php

Skip to toolbar