source/php/Parser/EventManagerApi.php
public function checkFilters($cat_filter, $tag_filter): bool
    {
        $tax_filter = (empty(get_field('event_filter_cat', 'options')) && empty(
            get_field(
                'event_filter_tag',
                'options'
            )
            )) ? true : false;

        // Check category filters
        if (!empty(get_field('event_filter_cat', 'options'))) {
            $tax_filter = $cat_filter;
        }
        // Check tag filters
        if (!$tax_filter && !empty(get_field('event_filter_tag', 'options'))) {
            $tax_filter = $tag_filter;
        }

        return $tax_filter;
    }
public function checkFilters($cat_filter, $tag_filter): bool
    {
        $tax_filter = (empty(get_field('event_filter_cat', 'options')) && empty(
            get_field(
                'event_filter_tag',
                'options'
            )
            )) ? true : false;

        // Check category filters
        if (!empty(get_field('event_filter_cat', 'options'))) {
            $tax_filter = $cat_filter;
        }
        // Check tag filters
        if (!$tax_filter && !empty(get_field('event_filter_tag', 'options'))) {
            $tax_filter = $tag_filter;
        }

        return $tax_filter;
    }
Check if the event passes one of the taxonomy filters
@param  bool $cat_filter Bool, equals true if event passed category filter
@param  bool $tag_filter Bool, equals true if event passed tag filter
@return bool