Change WordPress user roles and capabilities Forums How to or FAQ Can't revoke access custom post types Reply To: Can't revoke access custom post types

#3835
Vladimir
Keymaster

Hi,

URE shows (0/0) for a custom post type (CPT) if it users WordPress built-in ‘post’ based capabilities set, like ‘edit_posts’, ‘edit_published_posts’, etc.

You have two alternative options to block CPT menu for the role:
1) use admin menu access add-on for it.

2) activate “Force custom post types to use their own capabilities” option at the Settings->User Role Editor->Additional Modules tab. It will require to modify existing roles to provide access to the custom post type. Conflicts with some plugins are possible.