Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
TEC Filter Bar: Change category logic from AND (default) to OR.
<?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