graphql_after_execute

do_action( 'graphql_after_execute', $filtered_response, $this );

Run an action after GraphQL Execution

  • Type: action
  • Group: Request Lifecycle
  • Since: 0.0.5
  • Source File: plugins/wp-graphql/src/Request.php

Parameters

  • $filtered_response (mixed[]): The response of the entire operation. Could be a single operation or a batch operation
  • $request (\WPGraphQL\Request): Instance of the Request being executed

Source

do_action( 'graphql_after_execute', $filtered_response, $this );