Title: Add Capability?
Last modified: August 30, 2016

---

# Add Capability?

 *  Resolved [MathiasP](https://wordpress.org/support/users/mathiasp/)
 * (@mathiasp)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/add-capability/)
 * Hey, nice plugin!
 * I want to know if it is possible to give a special role the capability to use
   the admin of this plugin.
 * I noticed the filter loco_admin_capability but I don’t know how to use it..
 * is it possible to do something like that:
    $role = get_role(‘special_role’); 
   $role->add_cap(‘loco_admin_capability’); in functions?
 * ThX
 * [https://wordpress.org/plugins/loco-translate/](https://wordpress.org/plugins/loco-translate/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tim W](https://wordpress.org/support/users/timwhitlock/)
 * (@timwhitlock)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/add-capability/#post-6345037)
 * It doesn’t work this way. It’s a filter, not a capability itself. It allows you
   to override the default capability which is `manage_options`. See this topic:
   [https://wordpress.org/support/topic/capability-filter](https://wordpress.org/support/topic/capability-filter)

Viewing 1 replies (of 1 total)

The topic ‘Add Capability?’ is closed to new replies.

 * ![](https://ps.w.org/loco-translate/assets/icon-256x256.png?rev=1000676)
 * [Loco Translate](https://wordpress.org/plugins/loco-translate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/loco-translate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/loco-translate/)
 * [Active Topics](https://wordpress.org/support/plugin/loco-translate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/loco-translate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/loco-translate/reviews/)

## Tags

 * [capability](https://wordpress.org/support/topic-tag/capability/)
 * [role](https://wordpress.org/support/topic-tag/role/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tim W](https://wordpress.org/support/users/timwhitlock/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/add-capability/#post-6345037)
 * Status: resolved