Homepage
Link to WPGraphQL on Github
Link to WPGraphQL on WordPress.org

Recipes: Posts

Showing Post Type labels in public queries

WPGraphQL respects WordPress core access control rights. This means that data that is only available to authenticated users in the WordPress admin is only available to authenticated users making GraphQL requests.

AuthorizationExtensionsPosts

Add Edit Link to All Post Types

The following snippet shows how to add the “Edit” link as a GraphQL field to all post types: