Homepage
Link to WPGraphQL on Github
Link to WPGraphQL on WordPress.org

graphql_dataloader_get_model

Filter the model before returning.

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