Site Config JSON API WP Registry grade B. Medium-severity findings · 2 findingsWP RegistryMedium-severity findings · 2 findingsOpen the reportB
★ 1stars
0.5.1latest · 2 years ago
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/mintcondition/site-config-json-api/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Allows connection to an API endpoint delivering SiteConfiguration via JSON.
IMPORTANT NOTE: This exposes a good bit of your site configuration to anyone with an endpoint. The only
authentication is through the built in API key system. It is NOT meant for production sites or ones that
you care about securing.
Why would you want to use this? Well, this will allow you te generate JSON describing a lot about your site,
for example, it gives info on CPTs and ACF meta fields attached to those CPTs. This can be handy when working
with something like ChatGPT or another system. Instead of having to remember exactly what post and field Keys
you need when asking for a code block, you can just hit the API endpoint and get a current list of them all.
Feed that to ChatGPT and ask your questions. "Please modify the main query for the Events posts so that it
sorts by the Event Start Date and only shows events in the future." ChatGPT will understand that Events uses
the post key "mysiteevts" and the field it needs to work with is "evtstartdate".
There are other reasons you might use this as well.
If you can't figure out how to install a WP Plugin, you should NOT use this one.
Fix for na
Releases
7 releases.
Tag
Published
0.5.1
latest
May 31, 2024 2 years ago
May 29, 2024 2 years ago
May 27, 2024 2 years ago
May 27, 2024 2 years ago
May 27, 2024 2 years ago
May 27, 2024 2 years ago
May 27, 2024 2 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.