Guides
📣 The remaining guides will soon be available. Subscribe to our newsletter to be notified when it happens.
Configuring the plugin
Browsing, enabling and disabling modules
Configuring the plugin via the Settings page, environment variables, wp-config, and hooks
Defining the default schema configuration
Enabling granular public or private mode
Setting the default cache control max-age
Modifying the default and max number of results
Adding a custom post type to the schema
Disabling mutations
Caching the GraphQL schema
Enabling and configuring the single endpoint
Configuring the GraphiQL client for the single endpoint
Configuring the GraphiQL Explorer
Configuring the Voyager client for the single endpoint
Managing who can edit the schema
Enabling low-level editing of persisted queries
Adding a description to the API
Displaying the plugin's new features
Recipes
Strategies for API hierarchies
Removing types from the schema
Making directives available to the admin only
Creating language-based endpoints for translating the content of the site
Translating content inside blocks
Extending the GraphQL API
Understanding how the WordPress data model is mapped to the GraphQL schema
Bootstrapping an extension
Creating a type
Creating an interface
Creating a field resolver
Creating a directive
Creating a mutation resolver
Creating a union type
Creating a custom scalar
Creating an enum
Adding a field to all custom post types
Adding more elements to the schema configuration
Creating a custom access control rule
Creating modules
Creating persisted queries via code
Restricting fields to the WordPress admin
Hooking into Proactive feedback
Versioning fields and directives