Skip to content

Instantly share code, notes, and snippets.

@jesseeproductions
Last active June 22, 2016 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesseeproductions/f8102153d93cb2fdd5cd3ed21e321086 to your computer and use it in GitHub Desktop.
Save jesseeproductions/f8102153d93cb2fdd5cd3ed21e321086 to your computer and use it in GitHub Desktop.
Filter Limits for Filter Bar
/**
* Filter Limits for Filter Bar for The Events Calendar
* version 4.2.1
*/
add_filter('tribe_eventsfilter_bar_venues_limit', 'tribe_modify_filter_bar_venue_organzer_limits' );
add_filter('tribe_events_filter_bar_organizers_limit', 'tribe_modify_filter_bar_venue_organzer_limits' );
function tribe_modify_filter_bar_venue_organzer_limits( $limit ) {
$limit = -1;
return $limit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment