deregister_graphql_field
deregister_graphql_field( string $type_name, string $field_name ): void;
Given a Type Name and Field Name, this removes the field from the TypeRegistry
- Since: 0.1.0
- Source File:
plugins/wp-graphql/access-functions.php
Parameters
$type_name(string): The name of the Type to remove the field from$field_name(string): The name of the field to remove
Source
function deregister_graphql_field( string $type_name, string $field_name ): void {