wp role create
Creates a new role.
Synopsis
wp role create <role-key> <role-name> [--clone=<role>]
Options
The internal name of the role.
The publicly visible name of the role.
[–clone=
Clone capabilities from an existing role.
Examples
# Create role for Approver
$ wp role create approver Approver
Success: Role with key 'approver' created.
# Create role for Product Administrator
$ wp role create productadmin "Product Administrator"
Success: Role with key 'productadmin' created.