I created a custom post type ( Customers ) and i want to show posts of this post type just to the users with Customer role.
there is any way without or with plugin?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
You could use
register_post_type_args filter to change
false depending on your users role.
if you want to use the plugin. Advance Access manager. https://wordpress.org/plugins/advanced-access-manager/
The plugin basically allows you to not only manage access to the backend and front for specific posts. But also hide menu and dashboard entries.