graphql_should_analyze_queries

apply_filters( 'graphql_should_analyze_queries', $query_analyzer_enabled );

Filters whether to analyze queries for all GraphQL requests.

  • Type: filter
  • Group: Debugging and Instrumentation
  • Since: 1.11.0
  • Source File: plugins/wp-graphql/src/Utils/QueryAnalyzer.php

Parameters

  • $should_track_types (bool): Whether to analyze queries or not. Defaults to true if GraphQL Debugging is enabled, otherwise false.

Source

apply_filters( 'graphql_should_analyze_queries', $query_analyzer_enabled );