graphql_query_analyzer_get_headers
apply_filters( 'graphql_query_analyzer_get_headers', $headers, $this );
Filters GraphQL response headers after query analyzer headers are appended.
- Type: filter
- Group: Debugging and Instrumentation
- Since: 1.11.0
- Source File:
plugins/wp-graphql/src/Utils/QueryAnalyzer.php
Parameters
$headers(array<string,string>): The array of headers being returned$query_analyzer(\WPGraphQL\Utils\QueryAnalyzer): The instance of the query analyzer
Source
apply_filters( 'graphql_query_analyzer_get_headers', $headers, $this );
Related
QueryAnalyzer::get_headers()inplugins/wp-graphql/src/Utils/QueryAnalyzer.php:928