Toolset WPGraphQL
Exposes Toolset custom post types, taxonomies and fields via WPGraphQL.
by zaantar · github.com/zaantar/toolset-wp-graphql · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/zaantar/toolset-wp-graphql/archive/refs/heads/master.zipReadme
WPGraphQL for Toolset, Toolset for WPGraphQL
Expose Toolset's custom post types, taxonomies and post fields in WPGraphQL.
Just install this plugin together with Toolset Types and WPGraphQL and see for yourself.
Installation
- Download or clone the plugin files.
- Run
composer installfrom within the plugin directory.
Usage
By default, the plugin exposes those Toolset custom posts and taxonomies that have the show_in_rest option set.
At the moment, this behaviour can be altered by using the toolset_wpgraphql_show filter.
The structure of exposed fields is very similar to the REST API integration done by Toolset.

Future development
This is my personal project (at least for the time being) and it's still in very early stages.
Possible next steps include:
- Making the current implementation more robust and adding test coverage.
- Toolset user and term fields.
- Toolset relationship data (relationships, associations, repeatable field groups).
- Allow access to field values using parameters like for the types shortcode.
- Venture into Views, WPAs, Content Templates, and so on.
Contributions, feature request, issue reports and generally any sort of feedback is always very welcome. The best way to get involved is direcly via GitHub.
Made with :heart: for Toolset and OnTheGoSystems.