Filter the results in the search for users
-
Hi,
I’ve been looking at shortcodes like this one https://www.better-messages.com/docs/development/php-filters/better_messages_predefined_suggestions_user_ids, but it’s not quite what I need.
I use BuddyPress and I have created a restriction so that the X roles do not see the rest of the members of the same role, but they can see the members of the Y role and vice versa. However, these restrictions are not applied in the user search and if you search for a user name of the same role it appears (although you can’t create a conversation). Is there any way to apply this restriction also in the search?
I hope I’ve made myself clear.
Many thanks in advance.
Best regards
- The topic ‘Filter the results in the search for users’ is closed to new replies.