Filter all object fields, passing the $typename as a param.
This is useful when several different types need to be easily filtered at once. . .for example, if ALL types with a field of a certain name needed to be adjusted, or something to that tune
apply_filters( 'graphql_input_fields', array $fields, string $type_name, array $config, TypeRegistry $type_registry );
- $fields (array): The array of fields for the object config
- $type_name (string): The name of the object type
- $config (array): Array of config values
- $type_registry (TypeRegistry): The TypeRegistry instance