Filter bp_has_members() with user_ids
I’m trying to filter the bp_has_member() including only specific members sorted in a specific order.
I’ve tried to use the “include” argoment but the order of the members IDs is not kept, so I’ve looked a bit deeper in the code and I saw that the BP_User_Query class supports an argument “user_ids” that should works as “include” plus mantains the order of the passed IDs.
The problem is that bp_has_member() doesn’t support the “user_ids” parameter, is there any motivation because this parameter is missing?
Is it possible to filter bp_has_member() to show only specific member IDs in a specific order?
Thanks in advance!
- The topic ‘Filter bp_has_members() with user_ids’ is closed to new replies.