Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/josephfusco/wpgraphiql-query-injector/archive/refs/heads/main.zipOn Packagist as josephfusco/wpgraphiql-query-injector:
composer require josephfusco/wpgraphiql-query-injectorNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
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';
});
Releases
1 release.
Tag
Published
1.0.0
latest
Oct 24, 2023 2 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.