---
id: gk-query-filters-filter-disable-filters
title: "Filter - gk/query-filters/filter/disable-filters"
sidebar_label: "gk/query-filters/filter/disable-filters"
tags:
  - "2.0.0"
---

# Filter: gk/query-filters/filter/disable-filters

Modifies the list of filter indexes to disable.

To disable a group, add the group number. To disable a field, provide the field number inside the group. For example: `['2', '3.4']` would disable the second group completely and the 4th field in the 3rd group.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $disabled_filters | `array` | The filter positions to disable. |

### Since

- 2.0.0

### Source

Defined in `src/Filter/Visitor/DisableFiltersVisitor.php` at line 38

