graphql_before_execute

do_action( 'graphql_before_execute', $this );

This action runs before execution of a GraphQL request (regardless if it’s a single or batch request)

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

Parameters

  • $request (\WPGraphQL\Request): The instance of the Request being executed

Source

do_action( 'graphql_before_execute', $this );