Last active
June 22, 2016 12:39
-
-
Save jesseeproductions/f8102153d93cb2fdd5cd3ed21e321086 to your computer and use it in GitHub Desktop.
Filter Limits for Filter Bar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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