Skip to content

Commit 972bf14

Browse files
authored
Merge pull request #261 from superhuit-agency/fix/deprecation-data-loaders-filter
chore: deprecated filter
2 parents c589bfa + 029ee3c commit 972bf14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WPGraphQLAcf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function init(): void {
4646

4747
add_filter( 'graphql_resolve_revision_meta_from_parent', [ $this, 'preview_support' ], 10, 4 );
4848

49-
add_filter( 'graphql_data_loaders', [ $this, 'register_loaders' ], 10, 2 );
49+
add_filter( 'graphql_data_loader_classes', [ $this, 'register_loaders' ], 10, 2 );
5050
add_filter( 'graphql_resolve_node_type', [ $this, 'resolve_acf_options_page_node' ], 10, 2 );
5151
/**
5252
* This filters any field that returns the `ContentTemplate` type

0 commit comments

Comments
 (0)