0084-actions-graphql-register-types-late
title: graphql_register_types_late hookType: action hookGroup: schema-registration plugin: wp-graphql
graphql_register_types_late
do_action( 'graphql_register_types_late', $type_registry );
Fire an action as the type registry is initialized. This executes during the graphql_register_types action to allow for earlier hooking
- Type: action
- Group: Schema Registration
- Since: 0.4.3
- Source File:
plugins/wp-graphql/src/Registry/TypeRegistry.php
Parameters
$registry(\WPGraphQL\Registry\TypeRegistry): Instance of the TypeRegistry
Source
do_action( 'graphql_register_types_late', $type_registry );
Related
TypeRegistry::init_type_registry()inplugins/wp-graphql/src/Registry/TypeRegistry.php:723
这篇文档对你有帮助吗?
谢谢你的反馈!