0149-filters-graphql-enum-values


目录


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

graphql_enum_values

apply_filters( 'graphql_enum_values', $values, $type_name );

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_enum_values', $values, $type_name );

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