BuddyDev

Search

[Resolved] Modifying the Group members list

  • Participant
    Level: Initiated
    Posts: 17
    Mike Witt on #45043

    I’m currently restricting the regular members list to active MemberPress members by doing this:

    add_filter('bp_after_has_members_parse_args', 'mikes_member_list' );

    Where ‘mikes_member_list’ is a function that gets the IDs of members who are inactive and then excludes them from the returned args.

    Is there a similar way to modify the list of members in a group?

    Thanks!

  • Keymaster
    (BuddyDev Team)
    Posts: 24190
    Brajesh Singh on #45046

    Hi Mike,
    You can use the filter bp_after_group_has_members_parse_args in the same way.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved