ure_restrict_edit_post_type

Currently if you allow to the user to edit the only page (by its ID), any other post types becomes unavailable. Restriction rule is global and does not depend from the post type. The same is valid for any custom post type. What if you decided to allow to the user edit the restricted list of pages (1, 2, 3), but you wish that user still has full access to the posts or some other custom post type?

ure_restrict_edit_post_type filter will help you with this. Look how you can use it.

In the code above we use ure_restrict_edit_post_type filter to allow user with role ‘editor’ to edit posts without additional restrictions from User Role Editor Pro, even if he has restrictions set for editing other post types.