# 0052-actions-enqueue-graphiql-extension

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

# enqueue_graphiql_extension

```php
do_action( 'enqueue_graphiql_extension' );
```

Fires before GraphiQL extensions are enqueued.

- **Type:** action
- **Group:** Settings and Admin
- **Since:** 1.7.0
- **Source File:** `plugins/wp-graphql/src/Admin/GraphiQL/GraphiQL.php`

## Source

- [`plugins/wp-graphql/src/Admin/GraphiQL/GraphiQL.php:322`](https://github.com/wp-graphql/wp-graphql/blob/main/plugins/wp-graphql/src/Admin/GraphiQL/GraphiQL.php#L322)

```php
do_action( 'enqueue_graphiql_extension' );
```

## Related

- `GraphiQL::enqueue_graphiql()` in [`plugins/wp-graphql/src/Admin/GraphiQL/GraphiQL.php:322`](https://github.com/wp-graphql/wp-graphql/blob/main/plugins/wp-graphql/src/Admin/GraphiQL/GraphiQL.php#L322)