0319-functions-register-graphql-object-type


目录


title: register_graphql_object_type docType: function plugin: wp-graphql

register_graphql_object_type

register_graphql_object_type( string $type_name, array $config ): void;

Given a Type Name and a $config array, this adds an ObjectType to the TypeRegistry

Parameters

Recipes

Source

function register_graphql_object_type( string $type_name, array $config ): void {

版本号 #2
由 壳壳虫 创建于 2026-08-29 15:36:26 UTC
由 壳壳虫 更新于 2026-08-29 15:36:26 UTC