add_filter('asp_pre_get_front_filters', 'asp_change_tax_filter', 10, 2);
function asp_change_tax_filter($filters, $type) {
$taxonomies = 'category, post_tag'; // Comma separated list of taxonomies
// --- DO NOT CHANGE ANYTHING BELOW ---
$term_id = get_queried_object()->term_id;
$taxonomies = explode(',', $taxonomies);
foreach ( $taxonomies as $taxonomy ) {
$taxonomy = trim($taxonomy);
foreach ($filters as $k => &$filter) {
if ($type == 'taxonomy' && $filter->data['taxonomy'] == $taxonomy) {
$filter->select($term_id);