Group_Member::list_( $args,  $assoc_args )

Get a list of group memberships.


Description Description

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).

Top ↑

OPTIONS OPTIONS

: Identifier for the group. Can be a numeric ID or the group slug.
[–fields=] : Limit the output to specific signup fields.
[–format=] : Render output in a particular format. — default: table options: – table – csv – ids – json – count – yaml —
[–=] : One or more parameters to pass. See groups_get_group_members()
## EXAMPLES
$ wp bp group member list 3 $ wp bp group member list my-group


Source Source

File: cli/src/group-member.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.