advanced custom fields – Show/hide posts and categories based on user meta
I’ve added additional input fields to the user profiles with Advanced Custom Fields (for example “type of customer”). How is it possible to hide posts and categories for users with specific values within the custom fields? For example if a user has the customer type is set to “Cloud” they should only be able to see FAQ entries of the category “Cloud” and be permitted to access other categories.
I only found plugins to hide posts based on the user role, but I am searching for a more flexible way, because type of customer won’t be the only additional field.