跳转到主要内容

0260-filters-graphql-tracing-response


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

graphql_tracing_response

apply_filters( 'graphql_tracing_response', $trace, $this );

Filter the trace

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

Parameters

  • $trace (Trace): The trace to return
  • $instance (\WPGraphQL\Utils\Tracing): The Tracing class instance

Source

apply_filters( 'graphql_tracing_response', $trace, $this );