0188-filters-graphql-object-fields


目录


title: graphql_object_fields hookType: filter hookGroup: schema-registration plugin: wp-graphql

graphql_object_fields

apply_filters( 'graphql_object_fields', $fields, $type_name, $this, $this->type_registry );

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

Parameters

Source

apply_filters( 'graphql_object_fields', $fields, $type_name, $this, $this->type_registry );

Recipes


版本号 #2
由 壳壳虫 创建于 2026-08-29 15:36:26 UTC
由 壳壳虫 更新于 2026-08-29 15:36:26 UTC