graphql_dataloader_get_model
Filter the model before returning.
apply_filters( 'graphql_dataloader_get_model', mixed $model, mixed $entry, mixed $key, AbstractDataLoader $loader );
Params
- $model (mixed): The Model to be returned by the loader
- $entry (mixed): The entry loaded by dataloader that was used to create the Model
- $key (mixed): The Key that was used to load the entry
- $loader (AbstractDataLoader): The AbstractDataLoader Instance