Home Forums Event Espresso Premium Admin > Events view change filters

Admin > Events view change filters

Posted: February 20, 2018 at 8:13 am


February 20, 2018 at 8:13 am

I found your solution Josh to changing the default events listing filter in admin view

That works but our client has published (active & upcoming) and private (inactive) events so would love to be able to see these three via one filter but still hiding EXPIRED events.

Any way to active this combination? eg show upcoming/active/inactive all at once but not expired

thanks so much for any help


  • Support Staff

February 21, 2018 at 12:46 pm

Hi Jonathan,

You’ll actually use this instead:


February 21, 2018 at 12:51 pm

Superb. thanks so much Josh… really helpful 🙂


March 1, 2018 at 11:40 am

Hi Josh
That works great but a side effect is you cant then see anything in Trash or drafts as neither of those filters use the “active_status” query parameter.

My client has a HOLD file event set to private with a past date and she couldn’t find it once i activated this extra filter. To get around that I’ve told them to have that event set to say 5 years in future and still private so nobody can see it so that is sorted but would be nice to be able to see trash and draft items….

Anyway to add an extra check so if status=draft or status=trash this filter is not applied?

Thanks 🙂



  • Support Staff

March 2, 2018 at 12:54 pm

Hi Jonathan,

You can add a conditional check for those too:

e.g. change
if ( ! array_key_exists( 'active_status', $req_data ) ) {
if ( ! array_key_exists( 'active_status', $req_data ) && ! array_key_exists( 'status', $req_data ) ) {


March 2, 2018 at 5:22 pm

Perfect thank you Josh Ill try that

The support post ‘Admin > Events view change filters’ 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  jacl 1 year ago ago

Topic Tags


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