graphql_debug_enabled

apply_filters( 'graphql_debug_enabled', $enabled );

Filters whether GraphQL debug mode is enabled.

  • Type: filter
  • Group: Debugging and Instrumentation
  • Since: 1.1.5
  • Source File: plugins/wp-graphql/src/WPGraphQL.php

Parameters

  • $enabled (bool): Whether GraphQL Debug is enabled or not

Source

apply_filters( 'graphql_debug_enabled', $enabled );