hi all,
I need to display information on the post page of the event only when it is expired (END_DATE < TODAY). But the past events are always in the "CLOSED" status (REGISTRATION_END_DATE < TODAY). How I can change it? This could be automatic function that pass the status from CLOSED to EXPIRED.
Any help? Thank you very much!
Hi Dean,
I have changed the event_espresso_get_is_active function in functions/main.php.
In this function there is the EXPIRED status but it was compared to the event start date (and not with the event end date).
Now the new status is EXPIRED when today > end_date
Thank you very much!
Viewing 2 reply threads
The support post ‘event never expired’ 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.