graphql_get_schema

Fire an action when the Schema is returned

do_action( 'graphql_get_schema', WPGraphQL\WPSchema $schema );

Params

  • $schema (WPGraphqL\WPSchema): The Schema definition

Source

File: wp-graphql/wp-graphql.php