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.

apply_filters( 'graphql_data_loaders', array $loaders, AppContext $context);

Params

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