Support

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


pvhaganees

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.
thanks!


Tony

  • 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?


pvhaganees

February 21, 2018 at 10:09 am

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


Josh

  • 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.

You must be logged in to reply to this support post. Sign In or Register for an Account

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: publish

Updated by  Josh 38 minutes ago ago

Topic Tags

Notifications

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