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

graphql_connection_query_args

Get the Query Args. This accepts the input args and maps it to how it should be used in the WP_Query.

Params

  • $query_args (array): The query args to be used with the executable query to get data. This should take in the GraphQL args and return args for use in fetching the data.
  • $resolver (AbstractConnectionResolver): Instance of the connection resolver