graphql_wp_interface_type_config

apply_filters( 'graphql_wp_interface_type_config', $config, $this );

Filter the config of WPInterfaceType

  • Type: filter
  • Group: Schema Registration
  • Since: 0.0.5
  • Source File: plugins/wp-graphql/src/Type/WPInterfaceType.php

Parameters

  • $config (InterfaceConfig): Array of configuration options passed to the WPInterfaceType when instantiating a new type
  • $wp_interface_type (\WPGraphQL\Type\WPInterfaceType): The instance of the WPInterfaceType class

Source

apply_filters( 'graphql_wp_interface_type_config', $config, $this );