graphql_format_type_name

graphql_format_type_name( $type_name ): string;

Formats the name of a Type so that it plays nice with GraphiQL

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

Parameters

  • $type_name (string): Name of the field

Return

  • string: Name of the field

Source

function graphql_format_type_name( $type_name ): string {