register_graphql_settings_field

register_graphql_settings_field( string $group, array $config ): void;

Registers a GraphQL Settings Field

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

Parameters

  • $group (string): The name of the group to register a setting field to
  • $config (array<string,mixed>): The config for the settings field being registered

Source

function register_graphql_settings_field( string $group, array $config ): void {