Title: Plugin with hyphen in name
Last modified: September 6, 2016

---

# Plugin with hyphen in name

 *  [melriks](https://wordpress.org/support/users/melriks/)
 * (@melriks)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-with-hyphen-in-name/)
 * I’m attempting to add a capability for a custom post type. The custom post type
   has a hyphen in its name. When I try to add “neat-slider” or “edit neat-slider”,
   CME gives me an error “Incorrect capability name”.
 * How would I get around this?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kevin Behrens](https://wordpress.org/support/users/kevinb/)
 * (@kevinb)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-with-hyphen-in-name/#post-8482186)
 * Hyphens are not supported in capability names.

Viewing 1 replies (of 1 total)

The topic ‘Plugin with hyphen in name’ is closed to new replies.

 * ![](https://ps.w.org/capability-manager-enhanced/assets/icon-256x256.png?rev=
   3408171)
 * [PublishPress Capabilities - User Role Editor, Access Permissions, User Capabilities, Admin Menus](https://wordpress.org/plugins/capability-manager-enhanced/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/capability-manager-enhanced/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/capability-manager-enhanced/)
 * [Active Topics](https://wordpress.org/support/plugin/capability-manager-enhanced/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/capability-manager-enhanced/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/capability-manager-enhanced/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kevin Behrens](https://wordpress.org/support/users/kevinb/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-with-hyphen-in-name/#post-8482186)
 * Status: not resolved