graphql_enable_graphiql

apply_filters( 'graphql_enable_graphiql', get_graphql_setting( 'graphiql_enabled', true ) );

Filters whether the embedded GraphiQL IDE should be enabled.

  • Type: filter
  • Group: Settings and Admin
  • Since: 0.13.0
  • Source File: plugins/wp-graphql/src/Admin/Admin.php

Parameters

  • $graphiql_enabled (bool|string): Whether GraphiQL should be enabled.

Source

apply_filters( 'graphql_enable_graphiql', get_graphql_setting( 'graphiql_enabled', true ) );