herb miller
WordPress plugin specialist
 

WordPress capabilities: How to restrict Add New while allowing Edit

By default, when you register a post type, WordPress sets the value of the required capability for Add New to that used for Edit (i.e. All Posts). If you want to prevent users from using Add New content but still allow them to Edit content then you will need to assign different capability names.

But that’s not all. With the current version of WordPress ( 4.0 ) you need to implement a small workaround. →']);" class="more-link">Continue reading

1 2 3 13