init_graphql_type_registry

Fires an action as the Type registry is being initiated

do_action( 'init_graphql_type_registry', 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