graphql_endpoint

Pass the route through a filter in case the endpoint /graphql should need to be changed

apply_filters( 'graphql_endpoint', string $endpoint );

Params

  • $endpoint (string|null): The GraphQL endpoint URL