Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/TylerBarnes/wp-graphql-enable-all-post-types

Add all custom post types to WP GraphQL
https://github.com/TylerBarnes/wp-graphql-enable-all-post-types

Last synced: about 1 month ago
JSON representation

Add all custom post types to WP GraphQL

Awesome Lists containing this project

README

        

# wp-graphql-enable-all-post-types

This plugin adds all registered custom post types to WP GraphQL

Note that this plugin uses the post type name as the GraphQL single and plural field names. If you have translations for your post type names and view the schema in a specific language, this plugin may register those fields based on the current language which will result in an inconsistent schema.