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

Recipes: Queries

Using GraphQL Fragments in PHP

You can execute GraphQL queries in PHP. In this case, we even show using a GraphQL Fragment.

Queries

Filter to add restricted field on Model

Labels on Post Types are not publicly exposed by WordPress. They are attributes for use in the Admin, and are treated with respect to proper access to the admin.