wordpress_add_capability
Grant specific permissions to WordPress user roles by adding capabilities that control access to site features and administrative functions.
Instructions
Add capability to a user role
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| capability | Yes |
Input Schema (JSON Schema)
{
"properties": {
"capability": {
"type": "string"
},
"role": {
"type": "string"
}
},
"required": [
"role",
"capability"
],
"type": "object"
}