Closed Pebblo closed 4 years ago
See: https://events.codebasehq.com/projects/event-espresso/tickets/9788 And: https://eventespresso.com/topic/private-events-in-calendar/
Set an event to be private.
View the calendar whilst not logged into the site, that event should not be viewable.
View the calendar whilst logged in as a subscriber, again, the event should not be viewable.
Update your user account to have the ee_read_private_events events cap, the event should now be viewable.
ee_read_private_events
esc_html__()
This is working for me as outlined in the testing notes
@Pebblo do you want further testing on this or do you think it's okay for release?
Thanks Seth. I think this can be released as is.
Problem this Pull Request solves
See: https://events.codebasehq.com/projects/event-espresso/tickets/9788 And: https://eventespresso.com/topic/private-events-in-calendar/
How has this been tested
Set an event to be private.
View the calendar whilst not logged into the site, that event should not be viewable.
View the calendar whilst logged in as a subscriber, again, the event should not be viewable.
Update your user account to have the
ee_read_private_events
events cap, the event should now be viewable.Checklist
esc_html__()
, see https://codex.wordpress.org/I18n_for_WordPress_Developers)