0246-filters-graphql-schema-config
title: graphql_schema_config hookType: filter hookGroup: schema-registration plugin: wp-graphql
graphql_schema_config
apply_filters( 'graphql_schema_config', $config, $type_registry );
Set the $filterable_config as the $config that was passed to the WPSchema when instantiated
- Type: filter
- Group: Schema Registration
- Since: 0.0.9
- Source File:
plugins/wp-graphql/src/WPSchema.php
Parameters
$config(\GraphQL\Type\SchemaConfig): The config for the Schema.$type_registry(\WPGraphQL\Registry\TypeRegistry): The WPGraphQL type registry.
Source
apply_filters( 'graphql_schema_config', $config, $type_registry );
Related
WPSchema::__construct()inplugins/wp-graphql/src/WPSchema.php:53
这篇文档对你有帮助吗?
谢谢你的反馈!