0184-filters-graphql-model-prepare-fields


目录


title: graphql_model_prepare_fields hookType: filter hookGroup: models plugin: wp-graphql

graphql_model_prepare_fields

apply_filters( 'graphql_model_prepare_fields', $this->fields, $this->get_model_name(), $this->data, $this->visibility, $this->owner, $this->current_user );

Filter the array of fields for the Model before the object is hydrated with it

Parameters

Source

apply_filters( 'graphql_model_prepare_fields', $this->fields, $this->get_model_name(), $this->data, $this->visibility, $this->owner, $this->current_user );

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