graphql_field_definition
apply_filters( 'graphql_field_definition', $field, $type_name );
Filter the field definition
- Type: filter
- Group: Debugging and Instrumentation
- Since: 0.0.1
- Source File:
plugins/wp-graphql/src/Utils/InstrumentSchema.php
Parameters
$field(\GraphQL\Type\Definition\FieldDefinition): The field definition$type_name(string): The name of the type the field belongs to.
Source
apply_filters( 'graphql_field_definition', $field, $type_name );
Related
InstrumentSchema::wrap_fields()inplugins/wp-graphql/src/Utils/InstrumentSchema.php:72