---
id: gk-query-filters-condition-factory-handlers
title: "Filter - gk/query-filters/condition/factory-handlers"
sidebar_label: "gk/query-filters/condition/factory-handlers"
tags:
  - "2.10"
---

# Filter: gk/query-filters/condition/factory-handlers

Modifies the list of condition factory handlers for a filter.

Each handler is a callable that receives the filter as a plain array and returns one of the following:
- `false`              — does not handle this filter; the next handler is tried.
- `null`               — claims this filter but produces no condition; built-in logic is skipped.
- `GF_Query_Condition` — claims this filter with the given condition; built-in logic is skipped.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $handlers | `(callable\|null\|\GF_Query_Condition)[]` | Ordered list of condition factory handler callables. |

### Since

- 2.10

### Source

Defined in `src/Condition/ConditionFactory.php` at line 92

