graphql_query_analyzer_runtime_node

apply_filters( 'graphql_query_analyzer_runtime_node', $model->id, $model, $this->runtime_nodes );

Filter the node ID before returning to the list of resolved nodes

  • Type: filter
  • Group: Debugging and Instrumentation
  • Since: 1.11.0
  • Source File: plugins/wp-graphql/src/Utils/QueryAnalyzer.php

Parameters

  • $model_id (int): The ID of the model (node) being returned
  • $model (object): The Model object being returned
  • $runtime_nodes (string[]|int[]): The runtimes nodes already collected

Source

apply_filters( 'graphql_query_analyzer_runtime_node', $model->id, $model, $this->runtime_nodes );