graphql_object_type_interfaces

[!WARNING] This hook has been deprecated since v1.4.1 and should not be used for new integrations. Use graphql_type_interfaces instead.

apply_filters_deprecated( 'graphql_object_type_interfaces', [ $interfaces, $config, $type ], '1.4.1', 'graphql_type_interfaces', __( 'This will be removed in the next major release of WPGraphQL.', 'wp-graphql' ) );

No description available.

  • Type: filter
  • Group: Model Layer
  • Since: Unknown
  • Source File: plugins/wp-graphql/src/Deprecated.php

Lifecycle

  • Deprecated in: 1.4.1
  • Replacement: graphql_type_interfaces

Parameters

  • $interfaces (string[]): List of interfaces applied to the Object Type
  • $config (array<string,mixed>): The config for the Object Type
  • $type (\WPGraphQL\Type\WPInterfaceType|\WPGraphQL\Type\WPObjectType): The Type instance

Source

apply_filters_deprecated( 'graphql_object_type_interfaces', [ $interfaces, $config, $type ], '1.4.1', 'graphql_type_interfaces', __( 'This will be removed in the next major release of WPGraphQL.', 'wp-graphql' ) );