Schema for posts has more arguments that are useful for filtering posts by category name or category id. I’ve registered multiple custom post types and they are missing those arguments?
How can I add/register more schema arguments with PHP for my custom post types in the WP Graphql? WP GraphQL docs don’t cover this particular feature.
Any kind of advice/help will be great. Thanks in advance.
Please see the screenshot comparison for posts and custom post types.
Custom Post Type:
Read more here: Source link