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 totrueif GraphQL Debugging is enabled, otherwisefalse.
Source
apply_filters( 'graphql_should_analyze_queries', $query_analyzer_enabled );
Related
QueryAnalyzer::is_enabled()inplugins/wp-graphql/src/Utils/QueryAnalyzer.php:163