0251-filters-graphql-should-analyze-queries
title: graphql_should_analyze_queries hookType: filter hookGroup: debugging plugin: wp-graphql
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:172
这篇文档对你有帮助吗?
谢谢你的反馈!