graphql_connection_nodes

Set the items. These are the “nodes” that make up the connection. Filters the nodes in the connection.

apply_filters( 'graphql_connection_nodes', array $nodes, AbstractConnectionResolver $resolver );

Params

  • $nodes (array): The nodes in the connection
  • $resolver (AbstractConnectionResolver): Instance of the Connection Resolver