graphql_wp_union_type

do_action( 'graphql_wp_union_type', $config, $this );

Fires after a WPUnionType has been configured and before registration.

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

Parameters

  • $config (UnionConfig): The union type configuration.
  • $instance (\WPGraphQL\Type\WPUnionType): The WPUnionType instance.

Source

do_action( 'graphql_wp_union_type', $config, $this );