0287-functions-deregister-graphql-field
title: deregister_graphql_field docType: function plugin: wp-graphql
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 {
这篇文档对你有帮助吗?
谢谢你的反馈!