graphql_setting_field_config

apply_filters( 'graphql_setting_field_config', $field_config, $field_name, $section );

Filter the setting field config

  • Type: filter
  • Group: Settings and Admin
  • Since: 0.13.0
  • Source File: plugins/wp-graphql/src/Admin/Settings/SettingsRegistry.php

Parameters

  • $field_config (array<string,mixed>): The field config for the setting
  • $field_name (string): The name of the field (unfilterable in the config)
  • $section (string): The slug of the section the field is registered to

Source

apply_filters( 'graphql_setting_field_config', $field_config, $field_name, $section );