graphql_is_graphql_http_request

Filter whether the request is a GraphQL HTTP Request. Default is false, as the majority of WordPress requests are NOT GraphQL requests (at least today that’s true ????).

The request has to “prove” that it is indeed an HTTP request via HTTP for this to be true.

Different servers _might_ have different needs to determine whether a request is a GraphQL request.

 apply_filters( 'graphql_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.