wp bp group member list

Get a list of group memberships.

This command can be used to fetch a list of a user’s groups (using the –user-id
parameter) or a group’s members (using the –group-id flag).

OPTIONS OPTIONS

<group-id>
Identifier for the group. Can be a numeric ID or the group slug.
[–fields=<fields>]
Limit the output to specific signup fields.
[–format=<format>]
Render output in a particular format.
---
default: table

options:
– table
– csv
– ids
– json
– count
– yaml
---

[–<field>=<value>]
One or more parameters to pass. See groups_get_group_members()

Top ↑

EXAMPLES EXAMPLES

$ wp bp group member list 3
$ wp bp group member list my-group