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

graphql_data_loaders

This filters the data loaders, allowing for additional loaders to be added to the AppContext or for existing loaders to be replaced if needed.

Params

  • $loaders (array): The loaders accessible in the AppContext
  • $context (AppContext): The AppContext