wp bp group create

Create a group.

OPTIONS OPTIONS

–name=<name>
Name of the group.
[–slug=<slug>]
URL-safe slug for the group. If not provided, one will be generated automatically.
[–description=<description>]
Group description.
---
Default: ‘Description for group “[name]”‘
---
[–creator-id=<creator-id>]
ID of the group creator.
---
Default: 1
---
[–slug=<slug>]
URL-safe slug for the group.
[–status=<status>]
Group status (public, private, hidden).
---
Default: public
---
[–enable-forum=<enable-forum>]
Whether to enable legacy bbPress forums.
---
Default: 0
---
[–date-created=<date-created>]
MySQL-formatted date.
---
Default: current date.
---
[–silent]
Whether to silent the group creation.
[–porcelain]
Return only the new group id.

Top ↑

EXAMPLES EXAMPLES

$ wp bp group create --name="Totally Cool Group"
Success: Group (ID 5465) created: http://example.com/groups/totally-cool-group/

$ wp bp group create --name="Another Cool Group" --description="Cool Group" --creator-id=54 --status=private
Success: Group (ID 6454)6 created: http://example.com/groups/another-cool-group/