Support

Home Forums Event Espresso Premium Cancelled events are displayed

Cancelled events are displayed

Posted: May 7, 2017 at 10:21 am

Viewing 3 reply threads


asteiner

May 7, 2017 at 10:21 am

Hi,

If we set the status of a course to cancelled the course is still displayed in the list, we have to change it to draft in order for it to not show.

Thanks.


Josh

  • Support Staff

May 8, 2017 at 9:07 am

Hi there,
You can make it so cancelled events are removed from the front end event list by adding the following filter to a site specific plugin:

add_filter( 
'AFEE__EEM_Event__construct___custom_stati__cancelled__Public',
'__return_false' 
);


asteiner

May 9, 2017 at 5:20 am

Cancelled events still shows up.. I am using EE table view template

Thanks


asteiner

May 9, 2017 at 5:23 am

All good! Thank you!

Viewing 3 reply threads

The support post ‘Cancelled events are displayed’ 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