跳转到主要内容

0120-filters-graphql-connection-edges


title: graphql_connection_edges hookType: filter hookGroup: connections plugin: wp-graphql

graphql_connection_edges

apply_filters( 'graphql_connection_edges', $this->get_edges(), $this );

Filters the edges in the connection.

  • Type: filter
  • Group: Connections
  • Since: 0.0.6
  • Source File: plugins/wp-graphql/src/Data/Connection/AbstractConnectionResolver.php

Parameters

  • $edges (array<string,mixed>): The edges in the connection
  • $resolver (self): Instance of the Connection Resolver

Source

apply_filters( 'graphql_connection_edges', $this->get_edges(), $this );