graphql_wp_union_type_config

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

Filter the config of WPUnionType

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

Parameters

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

Source

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