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

do_graphql_request

Run an action for reach request

Params

  • $query (string): The GraphQL query
  • $operation (string): The name of the operation
  • $variables (array): Variables to be passed to your GraphQL request
  • $params (OperationParams): The Operation Params. This includes any extra params, such as extensions or any other modifications to the request body

Source

File: wp-graphql/src/Request.php