graphql_term_object_connection_query_args

apply_filters( 'graphql_term_object_connection_query_args', $query_args, $this->source, $args, $this->context, $this->info );

Filters the query args used by the connection.

  • Type: filter
  • Group: Connections
  • Since: 0.0.6
  • Source File: plugins/wp-graphql/src/Data/Connection/TermObjectConnectionResolver.php

Parameters

  • $query_args (array<string,mixed>): array of query_args being passed to the
  • $source (mixed): source passed down from the resolve tree
  • $args (array<string,mixed>): array of arguments input in the field as part of the GraphQL query
  • $context (\WPGraphQL\AppContext): object passed down the resolve tree
  • $info (\GraphQL\Type\Definition\ResolveInfo): info about fields passed down the resolve tree

Source

apply_filters( 'graphql_term_object_connection_query_args', $query_args, $this->source, $args, $this->context, $this->info );

Recipes