Skip to:
Content
Pages
Categories
Search
Top
Bottom

List of Group Member IDs


  • enda77
    Participant

    @enda77

    I’m trying to return a comma separated list of all the member ids in a particular group. I’m using the bp_group_has_members() but I cant get it to work. It just returns ‘1’ for every group.

    $group_id = bp_get_group_id();
    $group_members = bp_group_has_members($group_id);
    echo $group_members;

    Could anyone help?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar