0148-filters-graphql-endpoint
title: graphql_endpoint hookType: filter hookGroup: settings plugin: wp-graphql
graphql_endpoint
apply_filters( 'graphql_endpoint', $endpoint );
Filter the relative endpoint path where GraphQL can be accessed.
- Type: filter
- Group: Settings and Admin
- Since: 0.0.6
- Source File:
plugins/wp-graphql/access-functions.php
Parameters
$endpoint(string): The relative endpoint path that GraphQL can be accessed at.
Source
apply_filters( 'graphql_endpoint', $endpoint );
Related
graphql_get_endpoint()inplugins/wp-graphql/access-functions.php:934Settings::register_settings()inplugins/wp-graphql/src/Admin/Settings/Settings.php:119
Recipes
这篇文档对你有帮助吗?
谢谢你的反馈!