graphql_wp_object_type_config
apply_filters( 'graphql_wp_object_type_config', $config, $this );
Filter the config of WPObjectType
- Type: filter
- Group: Schema Registration
- Since: 0.0.5
- Source File:
plugins/wp-graphql/src/Type/WPObjectType.php
Parameters
$config(ObjectConfig): Array of configuration options passed to the WPObjectType when instantiating a new type.$wp_object_type(\WPGraphQL\Type\WPObjectType): The instance of the WPObjectType class
Source
apply_filters( 'graphql_wp_object_type_config', $config, $this );
Related
WPObjectType::__construct()inplugins/wp-graphql/src/Type/WPObjectType.php:80