Support

Home Forums Community Forum Hide past event datetimes and tickets

Hide past event datetimes and tickets

Posted: March 15, 2021 at 3:34 pm


alejandr04321

March 15, 2021 at 3:34 pm

Following the unresolved topic https://eventespresso.com/topic/how-to-remove-past-event-datetimes-and-tickets/

My approach is not to remove the past event datetimes and tickets. I have some special needs that doesn’t allow me to duplicate the event and get a fresh start. Because of the same reason than Chris Keller in the topic mentioned above “it’s getting hard to manage the event with all the expired course dates” I need to remove these dates and tickets from the php object before sending them to the front-end.

Result:

My approach is to override the function pricing_metabox() of the field /event-espresso-core-reg/caffeinated/admin/new/pricing in my child theme. Is it possible to do this using a Hook? If not, how can I rewrite it with a custom plugin or in the functions.php file of the child theme?

Thank you.


alejandr04321

March 20, 2021 at 2:38 am

Any ideas?
Can anyone help, please?

The support post ‘Hide past event datetimes and tickets’ 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