graphql_get_endpoint

graphql_get_endpoint(): string;

Get the endpoint route for the WPGraphQL API

  • Since: 1.12.0
  • Source File: plugins/wp-graphql/access-functions.php

Return

  • string: The relative endpoint path where the GraphQL API can be accessed.

Source

function graphql_get_endpoint(): string {