Is there a way to enable the Restrict content pro Metabox on the eventpages or is there another way to easily restrict custom user roles to view an event?
It’d be best to test this code thoroughly with your specific set up. The code has been tested but only to see if it would restrict content from non-members.
The WP User Integration add-on has a feature that allows you to set a capability on a ticket. For example if user role x has capability y, and you set ticket z‘s capability requirement to require capability y, then user x can get that ticket. Users accounts without capability y (and anyone not logged into the site) cannot get ticket z.
Right! Totally missed that feature! Thanks for the support!
Kind regards!
Viewing 10 reply threads
The support post ‘Restrict content pro – Restrict content metabox’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.