Support

Home Forums Events Calendar Add-on Restrict Canceled events from [ESPRESSO_CALENDAR]

Restrict Canceled events from [ESPRESSO_CALENDAR]

Posted: February 7, 2017 at 10:04 am


Jryven

February 7, 2017 at 10:04 am

Hello,

Is there a default parameter for restricting canceled events from [ESPRESSO_CALENDAR]?

If not, is EED_Espresso_Calendar.module.php the correct place to start investigating how to alter the output?

Are there any nearby hooks that I might be able to use to modify the output?


Lorenzo Orlando Caum

  • Support Staff

February 7, 2017 at 11:29 am

Hello,

Here is a filter that can be used to remove events with certain statuses:

https://gist.github.com/73efdcd1993e767728c7

It has been tested with a current version of Event Espresso 4 and the events calendar add-on.


Lorenzo


Jryven

February 10, 2017 at 3:47 am

Magnificent. Thanks, Lorenzo. #Resolved

The support post ‘Restrict Canceled events from [ESPRESSO_CALENDAR]’ 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