deregister_graphql_type

deregister_graphql_type( string $type_name ): void;

Given a Type Name, this removes the type from the entire schema

  • Since: 1.13.0
  • Source File: plugins/wp-graphql/access-functions.php

Parameters

  • $type_name (string): The name of the Type to remove.

Source

function deregister_graphql_type( string $type_name ): void {