---
id: gk-lookup-choice-query-bypass-filter
title: "Filter - gk/lookup/choice-query/bypass-filter"
sidebar_label: "gk/lookup/choice-query/bypass-filter"
tags:
  - "1.8.0"
---

# Filter: gk/lookup/choice-query/bypass-filter

Modifies whether the choice API bypasses Filter by Field.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $bypass | `bool` | Whether to bypass Filter by Field. Default: true. |
| $field | `\Field` | The Lookup field being queried. |
| $operation | `string` | The operation: search, count, or resolve. |

### Since

- 1.8.0

### Source

Defined in `includes/Field.php` at line 1007

