graphql_init

Fires after themes have been setup, allowing for both plugins and themes to register things before graphql_init

do_action( 'graphql_init', WPGraphQL $instance );

Params

  • $instance (WPGraphQL): The instance of the WPGraphQL class

Source

File: wp-graphql/wp-graphql.php