@andrew_long15
Active 1 year, 10 months ago
-
Anonymous User 16480907 replied to the topic Remove invite members link for group members in the forum How-to & Troubleshooting 1 year, 10 months ago
use this code.
/**
* Removes send invite tab according to Group Invitations setting.
*
* @since 2.2.0
*/
function remove_send_invite_tab() {
if ( ! bp_is_group() || ( bp_is_current_action( ‘admin’ ) && bp_action_variable( 0 ) ) || is_super_admin() ) {
return;
}// Add the admin subnav slug you want to hide in the…[Read more]