# 0172-filters-graphql-is-batch-queries-enabled

<!--
This file is auto-generated by scripts/hooks/generate-hook-docs.js.
Do not edit manually.
-->
---
title: graphql_is_batch_queries_enabled
hookType: filter
hookGroup: request-lifecycle
plugin: wp-graphql
---

# graphql_is_batch_queries_enabled

```php
apply_filters( 'graphql_is_batch_queries_enabled', $batch_queries_enabled, $this->params );
```

Filter whether batch queries are supported or not

- **Type:** filter
- **Group:** Request Lifecycle
- **Since:** 0.0.5
- **Source File:** `plugins/wp-graphql/src/Request.php`

## Parameters

- `$batch_queries_enabled` (`bool`): Whether Batch Queries should be enabled
- `$params` (`\GraphQL\Server\OperationParams|\GraphQL\Server\OperationParams[]`): Request operation params

## Source

- [`plugins/wp-graphql/src/Request.php:916`](https://github.com/wp-graphql/wp-graphql/blob/main/plugins/wp-graphql/src/Request.php#L916)

```php
apply_filters( 'graphql_is_batch_queries_enabled', $batch_queries_enabled, $this->params );
```

## Related

- `Request::is_batch_queries_enabled()` in [`plugins/wp-graphql/src/Request.php:916`](https://github.com/wp-graphql/wp-graphql/blob/main/plugins/wp-graphql/src/Request.php#L916)