deregister_graphql_connection

deregister_graphql_connection( string $connection_name ): void;

Given a Connection Name, this removes the connection from the Schema

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

Parameters

  • $connection_name (string): The name of the Connection to remove

Source

function deregister_graphql_connection( string $connection_name ): void {