Skip to:
Content
Pages
Categories
Search
Top
Bottom

Filter bp_has_members() with user_ids


  • Riccardo
    Participant

    @riccardob-1

    Hello,
    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!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filter bp_has_members() with user_ids’ is closed to new replies.
Skip to toolbar