Skip to content

Releases: wp-graphql/wp-graphql-custom-post-type-ui

v1.2.0

24 Mar 19:37
76e441b
Compare
Choose a tag to compare

TLDR

  • updates the plugin to have conditional logic for the graphql_single_name and graphql_plural_name to only show and be required if show_in_graphql is set to true.
  • cleans up code formatting
  • DRY up the form markup that's used for the forms
  • Fixes issue with postbox header markup

More info

This is basically a complete refactor of the plugin.

The overall goal is to handle the fields for GraphQL settings better.

Currently, users can leave graphql_single_name and graphql_plural_name blank, but set the Post Type or Taxonomy to show_in_graphql and that causes issues.

This makes the graphql_single_name and graphql_plural_name fields conditional to only show and be required if show_in_graphql is set to true.

See example:

show-in-graphql-cptui

v1.1

09 Sep 20:50
Compare
Choose a tag to compare

Release Notes: