Using GraphQL Plugin with Pods Framework
So, I started to experiment with a GraphQL plugin for WP, and was wondering how it'd work with Pods.
I came across a question on that plugin's GitHub that's pretty much the same thought I had. The maintainers supplied an answer:
Each Custom Post Type and Custom Taxonomy you want to add to the Schema should have the following fields set:
show_in_graphql (bool)
graphql_single_name (string)
graphql_plural_name (string)
I think I know how to do it with directly creating a custom post type register_post_type()
in PHP, but not sure how I'd do it in Pods.
Topic pods-framework open-graph custom-post-types Wordpress
Category Web