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;
    }