graphql_dataloader_get_cached
apply_filters( 'graphql_dataloader_get_cached', $value, $key, static::class, $this );
Use this filter to retrieving cached data objects from third-party caching system.
- Type: filter
- Group: Model Layer
- Since: 0.0.5
- Source File:
plugins/wp-graphql/src/Data/Loader/AbstractDataLoader.php
Parameters
$value(mixed): Value to be cached.$key(int|string): Key identifying object.$loader_class(string): Loader class name.$loader(mixed): Loader instance.
Source
apply_filters(
'graphql_dataloader_get_cached',
$value,
$key,
static::class,
$this
);
Related
AbstractDataLoader::get_cached()inplugins/wp-graphql/src/Data/Loader/AbstractDataLoader.php:410