We only want to allow a member to invite another member to their hidden group if they know their email address.
So we want the group invitation feature to only search on email field and return the corresponding user so that they can be invited.
Any thought son who to achieve this would be appreciated.
Welcome to Buddydev.
If you are using Nouveau, It is doable.
Please take a look at the function
You need to hook to ‘wp_ajax_groups_get_group_potential_invites’ and make sure to handle the requests at higher priority than ‘bp_nouveau_ajax_get_users_to_invite’
You must be logged in to reply to this topic.