0168-filters-graphql-interface-fields


目录


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

graphql_interface_fields

apply_filters( 'graphql_interface_fields', $fields, $type_name );

Filter all interface 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_interface_fields', $fields, $type_name );

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