GraphQL Parameters
WP Headless supports GraphQL out of the box when coupled with WPGraphQL.
Custom post types, taxonomies and settings and meta fields of the String
GraphQL type added via configuration files are queryable without any additional parameters, steps or code. This includes all of the default view templates with the exception of image-upload.php
.
However, any settings or meta fields that are not of the String
type will require an additional graphql
parameter in their configuration entry. Please the GraphQL section for details on how to properly set this.