WPGraphQL
WPGraphQL
BlogREPL
GitHubWordPress Plugin

Developer Reference

  • Overview
  • Actions
  • Filters
  • Functions
  • Recipes
  1. Developer Reference
  2. /Actions
  3. /graphql_get_schema

graphql_get_schema

do_action( 'graphql_get_schema', self::$schema );

Fire an action when the Schema is returned

  • Type: action
  • Group: Schema Registration
  • Since: 1.1.5
  • Source File: plugins/wp-graphql/src/WPGraphQL.php

Parameters

  • $schema (\WPGraphQL\WPSchema): The executable schema.

Source

  • plugins/wp-graphql/src/WPGraphQL.php:936
do_action( 'graphql_get_schema', self::$schema );

Related

  • WPGraphQL::get_schema() in plugins/wp-graphql/src/WPGraphQL.php:936

On this page

  • Parameters
  • Source
  • Related
WPGraphQL
WPGraphQL

© 2026 WPGraphQL · GPL-3 Licensed

GitHubWordPress PluginTwitterYouTubeDiscord