cuny-academic-commons / bp-event-organiser

Allows Event Organiser plugin events to be assigned to BuddyPress groups and generates a group calendar page for each group
GNU General Public License v2.0
3 stars 1 forks source link

How to remove display events from private group in EO Events CPT feed #54

Closed danaskallman closed 8 years ago

danaskallman commented 8 years ago

Events that are added within a private group still appear on the events overall feed on a website, so at https://yourdomain.com/events/event/feed Is there a way to restrict private events from the CPT feed?

boonebgorges commented 8 years ago

Hi @danaskallman - Are you viewing this feed in a browser, as a logged-in user who has access to the private group? If so, you'll see the item; if not, you shouldn't see it. This is more or less by design - it's the same way that WP's post_status works in the context of a feed.

danaskallman commented 8 years ago

@boonebgorges right, yeah I was viewed as logged in. Thanks for getting back to me.