跳转到主要内容

0223-filters-graphql-query-analyzer-get-runtime-nodes


title: graphql_query_analyzer_get_runtime_nodes hookType: filter hookGroup: debugging plugin: wp-graphql

graphql_query_analyzer_get_runtime_nodes

apply_filters( 'graphql_query_analyzer_get_runtime_nodes', $this->runtime_nodes );

Filters runtime node identifiers captured while resolving a GraphQL request.

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

Parameters

  • $runtime_nodes (string[]|int[]): Nodes that were resolved during execution

Source

apply_filters( 'graphql_query_analyzer_get_runtime_nodes', $this->runtime_nodes );