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


Run an action after the HTTP Response is ready to be sent back. This might be a good place for tools to hook in to track metrics, such as how long the process took from graphql_process_http_request to here, etc.


  • $response (array): The GraphQL response
  • $result (array): The result of the GraphQL Query
  • $operation_name (string): The name of the operation
  • $query (string): The request that GraphQL executed
  • $variables (array): Variables passed to your GraphQL query


File: wp-graphql/src/Router.php