deregister_graphql_mutation

deregister_graphql_mutation( string $mutation_name ): void;

Given a Mutation Name, this removes the mutation from the Schema

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

Parameters

  • $mutation_name (string): The name of the Mutation to remove

Source

function deregister_graphql_mutation( string $mutation_name ): void {