Support

Home Forums Event Espresso Premium Need to hide events once the ticket sale is over

Need to hide events once the ticket sale is over

Posted: July 3, 2020 at 7:25 am


refocuseducation

July 3, 2020 at 7:25 am

Is there a way to hide events once the ticket sale is over? We have events with multiple date times so when the ticket sale is over, the event is still showing up in the event listing although tickets are not able to be purchased.

Thanks!


Tony

  • Support Staff

July 3, 2020 at 9:45 am

Hi there,

Do you only have a single ticket?

Or, if you have multiple tickets, are they all past their sale end dates?

If yes to either you can use this snippet:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/templates/de_ee_filter_events_out_with_expired_tickets.php

Add that to the custom function plugin you create in your previous thread.

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  Tony 1 month, 1 week ago ago

Topic Tags

Notifications

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