do_graphql_request
Run an action for reach request
do_action( 'do_graphql_request', string $query, string $operation, array $variables, OperationParams $params );
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