Thank you for your answer. I tried to add your line just below the line with “bbp_remove_user_forum_subscription( $user_id, $forum_id );”, but it didn’t solve my problem. The user is still subscribed to the group forum after he is removed from the group by me in the backend.
Should I insert your line in another place? Eg. as an add_action?
Awesome. I knew that you had a fix in your sleeve! I’m completely blown away by your effort. Thanks a lot – it works perfectly 🙂
Btw do you still recommend using the BuddyPress Legacy template rather than the Nouveau when using the Community Builder Pro theme? I have read the post at https://buddydev.com/an-introduction-to-buddypress-template-packs/ but I couldn’t see how that related to your theme.
All the best