Home Forums Event Espresso Premium We want closed events not to be shown in the calendar

We want closed events not to be shown in the calendar

Posted: February 7, 2018 at 6:53 am


February 7, 2018 at 6:53 am

hi there,
we’ve got events that are closed because of severral reasons. Now we do not want them to be seen on the calendar. Please let me know how to do that.


  • Support Staff

February 7, 2018 at 8:25 am

Hi there,

Can I ask what a ‘closed’ event is? (With regards to EE)

How are you setting these events to closed in EE?


February 21, 2018 at 10:09 am

when an event is active, but we have no more places for this event..


  • Support Staff

February 21, 2018 at 11:09 am

Do you mean don’t show the event is it’s sold out? If so you can add this code to your site:

add_filter( 'AFEE__EEM_Event__construct___custom_stati__sold_out__Public', '__return_false' );

You can add the above to a functions plugin.


February 22, 2018 at 1:19 am

this is one of the reasons and we will try this, thanks! After reading my question I change it a little bit: When opening the ‘calendar’ page I see al the events. On this ‘overall’ place, I cannot see if an event is closed for some reason or still active. I have to click on a single event to see if it’s an active event or if it’s a closed / sold out one. I would like to see it when I go to the calender page. I can put a tekst in the ‘resume’ of ‘recap’ textbox under the location field, but that’s not a very simple method.


  • Support Staff

February 22, 2018 at 8:56 am

The code I shared with you will actually remove the events that are sold out.

The support post ‘We want closed events not to be shown in the calendar’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 11 months, 4 weeks ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!