https://github.com/flexseth/wordpress-disable-rest-api
Disable the WordPress API for a website.
https://github.com/flexseth/wordpress-disable-rest-api
Last synced: about 2 months ago
JSON representation
Disable the WordPress API for a website.
- Host: GitHub
- URL: https://github.com/flexseth/wordpress-disable-rest-api
- Owner: flexseth
- License: gpl-2.0
- Created: 2022-11-04T02:24:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-04T02:39:04.000Z (over 3 years ago)
- Last Synced: 2025-12-29T05:51:33.593Z (6 months ago)
- Language: PHP
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Disable the WordPress REST API
install this plugin to remove access to the REST API in a WordPress installation.
## Endpoint location for testing
To test this plugin, enter your url, followed by
`/wp-json/v2/posts`
You should receive an error
**Access Denied**
`{"code":"access denied","message":"REST API Disabled","data":{"status":403}}`