Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Tribe Show Latest Past Events
// Disables on All Views
add_filter('tribe_events_views_v2_show_latest_past_events_view', 'tribe_show_latest_past_events' );
// Disable for a Specific View ( replace month with list, day, map, photo, or week )
//add_filter('tribe_events_views_v2_month_show_latest_past_events_view', 'tribe_show_latest_past_events' );
* Filter to Hide the Latest Past Events
* @return bool Return false to disable the Latest Past Events
function tribe_show_latest_past_events() {
return false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment