Modify Event Archive Query using a Child Theme
Hi there,
I'm trying to modify the method 'parse_query' of the Class VA_Event_Archive located in /includes/events/view.php
My goal is to not show expired Events on the main 'Events' listing page but show expired events when searching/filtering via Month/Day/Year
I've tried extending the VA_Event_Archive class with my own class with the modified method and loaded it after "add_action( 'init', '_va_load_events', 5 );" but I don't see any filter capabilities in place to run my modified method.
Is there anyway to perform this modification without having to modify core files?
Or perhaps there is another workaround for this?