Support

Home Forums Event Espresso Premium How to hide past events on the My Events shortcode Reply To: How to hide past events on the My Events shortcode

Reply To: How to hide past events on the My Events shortcode

Author Replies
Josh # Posted on May 9, 2018 at 3:17 pm

[ESPRESSO_MY_EVENTS template=event_section] is equivalent to [ESPRESSO_MY_EVENTS].

There are ways to have an expired event with a different status though, so this might work better for you:

if ( $event->get_active_status() != 'DTU' ) { return; }

Do NOT follow this link or you will be banned from the site!