Filter whether the request is a GraphQL HTTP Request. Default is null, as the majority of WordPress requests are NOT GraphQL requests (at least today that’s true ????).
If this filter returns anything other than null, the function will return now and skip the default checks.
apply_filters( 'graphql_pre_is_graphql_http_request', bool $is_graphql_http_request );
Params
- $is_graphql_http_request (bool): Whether the request is a GraphQL HTTP Request. Default false.