Homepage
Link to WPGraphQL on Github
Link to WPGraphQL on WordPress.org

graphql_connection

Filter the connection. In some cases, connections will want to provide additional information other than edges, nodes, and pageInfo. This filter allows additional fields to be returned to the connection resolver

Params

  • $connection (array): The connection data being returned
  • $resolver (AbstractConnectionResolver): The instance of the connection resolver