Possible to hide Custom Post Type UI/Menu from specific User Roles?
What I'm looking to do is completely hide the UI for a custom post type from specific user roles...Ive previously found many resources on how to disable access to using those CPTs but nothing that really allows you to completely hide the CPT UI all together based on what user is logged into the dashboard.
This is important since I need clients to completely stay out of custom post types for the store, and if they can see the store CPT UI in the dashboard still it doesn't make a difference if their capabilities are restricted since their still going to inquire how they can go about adding product on their own as a result.
Id really prefer to not accomplish this with a plugin however if there is something that can do the trick in a non-bloated way that would still be great I suppose.
Thanks for your help, SB
Topic user-interface user-roles capabilities dashboard custom-post-types Wordpress
Category Web