Homepage
Link to WPGraphQL on Github
Link to WPGraphQL on WordPress.org

graphql_pre_is_graphql_http_request

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.

Params

  • $is_graphql_http_request (bool): Whether the request is a GraphQL HTTP Request. Default false.