Automatically add New Capabilities – [Feature Request]
-
Love the Plugin!
Every time I use it I end up needing to have specific capabilities for custom post types. So I end up having to add them in one at a time.
Would be awesome for this plugin to automatically do this. Or at least have a setting for it.
Here are the parameters:
Check all Custom Post Types.
If the Custom Post type uses ‘capability_type’ other then ‘post’ or ‘page’ and if ‘map_meta_cap’ is set to true.
Then automatically add these capabilities.
delete_{post_type}
delete_{post_type}s
delete_others_{post_type}s
delete_private_{post_type}s
delete_published_{post_type}s
edit_{post_type}s
edit_{post_type}
edit_others_{post_type}s
edit_private_{post_type}s
edit_published_{post_type}s
publish_{post_type}s
read_{post_type}
read_private_{post_type}s‘capability_type’ does allow for adding a plural type. So checking that for the ones with (s) would be preferred.
This would save me a lot of time.Thanks
- The topic ‘Automatically add New Capabilities – [Feature Request]’ is closed to new replies.