Home Forums Event Espresso Premium Get events ordered by event date ee4

Get events ordered by event date ee4

Posted: April 9, 2018 at 2:24 pm


April 9, 2018 at 2:24 pm

Hi there,

I switched from ee3 to ee4. I had a loop in ee3 to automatically add the events by event date in a newsletter:

‘meta_key’ => ‘event_end_date’,
‘order’ => ‘ASC’,
‘orderby’ => ‘event_end_date’,

But I’ve read around the forum that the event date is not stored as a meta key anymore, so I need to condition it another way.

I can’t just use the DTT_EVT_start filter because the newsletter plugin will order it by publish date of the event, not the actual date of the event.

I hope you guys can help me with this,

Kind regards


  • Support Staff

April 11, 2018 at 3:24 pm

Hi there,

This gist shows one example of how to get events ordered by event date (in EE4)

The support post ‘Get events ordered by event date ee4’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 9 months, 1 week ago ago

Topic Tags


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