graphql_connection_nodes
apply_filters( 'graphql_connection_nodes', $this->get_nodes(), $this );
Set the items. These are the “nodes” that make up the connection. Filters the nodes in the connection
- Type: filter
- Group: Connections
- Since: 0.0.6
- Source File:
plugins/wp-graphql/src/Data/Connection/AbstractConnectionResolver.php
Parameters
$nodes(\WPGraphQL\Model\Model[]|mixed[]|null): The nodes in the connection$resolver(self): Instance of the Connection Resolver
Source
apply_filters( 'graphql_connection_nodes', $this->get_nodes(), $this );
Related
AbstractConnectionResolver::get_connection()inplugins/wp-graphql/src/Data/Connection/AbstractConnectionResolver.php:1025