See in REST API
Quickly request the current resource off the WordPress REST API via the WordPress admin bar.
by Human Made · github.com/humanmade/see-in-rest-api · website
★ 10stars
2composer 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/humanmade/see-in-rest-api/archive/refs/heads/main.zipAlso on Packagist as humanmade/see-in-rest-api:
composer require humanmade/see-in-rest-apiFrom the readme
See in REST API
Quickly request the current resource off the WordPress REST API via the WordPress admin bar.
Introduction
This plugin adds a new node to the WordPress admin bar, See in REST API, that allows for requesting the current resource off the WordPress REST API.
This works both in the WordPress admin and on the front end of your site.
Supported resources:
- posts (including attachments);
- terms;
- users (including your profile).
The plugin does not perform any checks around permissions.
If a resource is not available or readable, you will find out after you clicked the link. 🙂
Installation
Requirements:
- PHP 7.2 or higher;
- WordPress 5.5 or higher.
Install with Composer:
This plugin follows Semantic Versioning.
Usage
PHP Filters
seeinrestapi.resturl
This filter allows the user to modify the URL that the admin bar node will link to.
Arguments:
$resturl (string): REST API URL for the current resource.
Usage Example:
License
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any late
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 1.0.0 | Mar 18, 2021 | — | — |