跳转到主要内容

0299-functions-graphql-get-endpoint


title: graphql_get_endpoint docType: function plugin: wp-graphql

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 {