Add capabilities to an existing role
Usage: wpcom_vip_add_role_caps( ‘contributor’, array( ‘upload_files’ ) );
Parameters
Name | Type | Description |
---|---|---|
$role | string | Role name |
$caps | array | Capabilities to add to the role |
Return Value
void
Add capabilities to an existing role
Usage: wpcom_vip_add_role_caps( ‘contributor’, array( ‘upload_files’ ) );
Name | Type | Description |
---|---|---|
$role | string | Role name |
$caps | array | Capabilities to add to the role |
void
No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.