graphql_comment_connection_query_args

Filter the query_args that should be applied to the query. This filter is applied AFTER the input args from the GraphQL Query have been applied and has the potential to override the GraphQL Query Input Args.

apply_filters( 'graphql_comment_connection_query_args', array $query_args, mixed $source, array $args, AppContext $context, ResolveInfo $info );

Params

  • $query_args (array): Array of query_args
  • $source (mixed): Source passed down from the resolve tree
  • $args (array): Array of arguments input in the field as part of the GraphQL query
  • $context (AppContext): Object passed down the resolve tree
  • $info (ResolveInfo): Info about fields passed down the resolve tree