- This topic has 0 replies, 1 voice, and was last updated 13 years, 8 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Private events only viewable for certain roles?
Tagged: capabilities, filters, roles, users
Hello,
I would like to have private events not be viewable by subscribers, only authors and up. I asked about this on wordpress forums and someone said to use a filter but I’m afraid I don’t know what to put in the filter. I’m assuming I can do this in my functions.php though, filter private events by user role. How would I do this?
Thanks in advance.