XProfile_Group::create( $args, $assoc_args )
Create an XProfile group.
Contents
Description Description
OPTIONS OPTIONS
–name=
[–description=
[–can-delete=] : Whether the group can be deleted. [–can-delete=] : Whether the group can be deleted.
default: 1 default: 1
[–porcelain] : Output just the new group id.
EXAMPLES EXAMPLES
$ wp bp xprofile group create --name="Group Name" --description="Xprofile Group Description"
Success: Created XProfile field group "Group Name" (ID 123).
$ wp bp xprofile group add --name="Another Group" --can-delete=false
Success: Created XProfile field group "Another Group" (ID 21212).
Source Source
File: cli/src/xprofile-group.php