WP Manifestindependent plugin directory
manifest / developer / wpgraphiql-query-injector

WPGraphiQL Query Injector

Inject a custom query and variables into the WPGraphiQL editor - intended to be used with WordPress Playground.

by Joseph Fusco · github.com/josephfusco/wpgraphiql-query-injector · website

0stars
4composer installs
0forks

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/josephfusco/wpgraphiql-query-injector/archive/refs/heads/main.zip

Also on Packagist as josephfusco/wpgraphiql-query-injector:

composer require josephfusco/wpgraphiql-query-injector

From the readme

WPGraphiQL Query Injector Overview WPGraphiQL Query Injector is a WordPress plugin designed to inject custom GraphQL queries and variables into your WPGraphiQL editor. The plugin aims to provide a straightforward way to populate the WPGraphiQL editor within a WordPress Playground environment. Usage Once the plugin is activated, it will automatically populate the WPGraphiQL editor with predefined queries and variables. You can modify these by applying WordPress filters. Filters wpgraphiqlquery Filter the GraphiQL Query input. wpgraphiqlvariables Filter the GraphiQL Variables input. wpgraphiqlusepublicfetcher Filter auth vs public requests. php addfilter( 'wpgraphiqlusepublicfetcher', function() { return 'true'; });

Read the full README on GitHub →

Releases

TagPublished
1.0.0 Oct 24, 2023

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.