Description
This plugin forces all non-admin, non-AJAX, and non-REST API requests to return a 404 status code.
Ideal for headless WordPress environments or sites that should expose only the API.
Installation
- Upload the plugin folder to
/wp-content/plugins/ - Activate the plugin through the “Plugins” menu in WordPress
Reviews
There are no reviews for this plugin.
Contributors & Developers
“REST API Only” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “REST API Only” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.2
- Updated plugin author attribution to Studio JKN with author URL.
1.0.1
- Adjusted plugin name capitalization and added a direct access guard.
1.0.0
- Initial release.