Last active
September 8, 2017 15:57
-
-
Save cliffordp/c2ea6115318044db219322fea8da55ec to your computer and use it in GitHub Desktop.
TEC Filter Bar: Change category logic from AND (default) to OR.
This file contains 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
<?php | |
/** | |
* TEC Filter Bar: Change the logic for Event Categories from the default AND to OR. | |
* | |
* @link https://gist.github.com/cliffordp/c2ea6115318044db219322fea8da55ec | |
*/ | |
add_filter( 'tribe_events_filter_taxonomy_relationship', function() { | |
return 'OR'; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment