graphql_register_types_late

Fire an action as the type registry is initialized. This executes during the graphql_register_types action to allow for earlier hooking

do_action( 'graphql_register_types_late', WPGraphQL\Registry\TypeRegistry $type_registry );

Params

  • $type_registry (WPGraphQL\Registry\TypeRegistry): The registry of Types used in the GraphQL Schema

Source

File: wp-graphql/src/Registry/TypeRegistry.php