graphql_execute
do_action( 'graphql_execute', $response, $this->schema, $operation, $query, $variables, $this );
Run an action. This is a good place for debug tools to hook in to log things, etc.
- Type: action
- Group: Request Lifecycle
- Since: 0.0.6
- Source File:
plugins/wp-graphql/src/Request.php
Parameters
$response(mixed|array<string,mixed>|object): The response your GraphQL request$schema(\WPGraphQL\WPSchema): The schema object for the root request$operation(?string): The name of the operation$query(?string): The query that GraphQL executed$variables(?array<string,mixed>): Variables to passed to your GraphQL query$request(\WPGraphQL\Request): Instance of the Request
Source
do_action( 'graphql_execute', $response, $this->schema, $operation, $query, $variables, $this );
Related
Request::after_execute_actions()inplugins/wp-graphql/src/Request.php:512