Support

Home Forums Event Espresso Premium Closed and Sold Out Events still showing

Closed and Sold Out Events still showing

Posted: July 14, 2022 at 9:01 am

Viewing 1 reply thread


Kim Cooper

July 14, 2022 at 9:01 am

Events continue to show on my website so long as they are in progress. But when an event is no longer open for registration, I’d like it to no longer show on my listing on the website. How can I make that happen?


Tony

  • Support Staff

July 15, 2022 at 5:42 am

Hi there,

So just to conifrm, you want to remove events if all of the tickets on that event are expired?

If so 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

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Viewing 1 reply thread

The support post ‘Closed and Sold Out Events still showing’ 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.

Event Espresso