Add a new role
Usage: wpcom_vip_add_role( ‘super-editor’, ‘Super Editor’, array( ‘level_0’ => true ) );
Parameters
Name | Type | Description |
---|---|---|
$role | string | Role name |
$name | string | Display name for the role |
$capabilities | array | Key/value array of capabilities for the role |
Return Value
void