diff --git a/includes/Blocks/CorePostTerms.php b/includes/Blocks/CorePostTerms.php index 6cbdd1dd..9d08f44e 100644 --- a/includes/Blocks/CorePostTerms.php +++ b/includes/Blocks/CorePostTerms.php @@ -31,7 +31,7 @@ public function __construct( WP_Block_Type $block, Registry $block_registry ) { ] ); - $this->register_list_of_terms_field(); + $this->register_list_of_terms_connection(); } /** @@ -58,7 +58,7 @@ private function get_string_field_config( string $name ): array { * @return void * @throws \Exception */ - protected function register_list_of_terms_field() { + protected function register_list_of_terms_connection() { register_graphql_connection( [ 'fromType' => $this->type_name,