Disables the WP REST API for visitors not logged into WordPress.
Alternatives to Only REST API
Plugins below are selected for functional relevance and current directory signals. Active-install counts do not affect this ranking.
WordPress plugins with similar use cases
Compatibility and update metadata provide context, not a quality guarantee. Review each plugin’s details for your site.
40 JSON API endpoints for WordPress content, CPTs, taxonomies, media, comments, widgets, users, JWT login, API keys, CORS, and HTTPS.
Full control over your WordPress REST API. Block, restrict, or whitelist endpoints per user role. Lightweight, fast, zero frontend footprint.
Force all non-admin, non-AJAX, and non-REST API requests to return a 404 for headless or API-only sites.
Explore, test, document, and export WordPress REST API routes from a private admin console.
Restrict user profile editing with granular role-based controls, additional wp-admin page restrictions, REST API protection, and custom redirects.
Expose WordPress menus via a custom REST API endpoint for headless and external applications.
Give your AI agent a single, revocable token for the WordPress REST API — no username and password pairs, no Basic Auth.
Fast, cacheable headless API endpoints answered before the theme, the REST API and WP_Query load.