Filter the Schema
apply_filters( 'graphql_schema', WPSchema $schema, SchemaRegistry $schema_registry );
Params
- $schema (WPSchema): The generated Schema
- $schema_registry (SchemaRegistry): The Schema Registry Instance
Free open-source WordPress plugin that turns any WordPress site into a GraphQL API
Filter the Schema
apply_filters( 'graphql_schema', WPSchema $schema, SchemaRegistry $schema_registry );