MaxtDesign REST API Control
Full control over your WordPress REST API. Block, restrict, or whitelist endpoints per user role. Lightweight, fast, zero frontend footprint.
Choix solide
MaxtDesign REST API Control is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites and was last updated 3 months ago, and scores 63/100 on our health check.
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (20+ installations actives)
- Très peu de critiques jusqu'à présent
- Nécessite PHP 8.2 ou plus récent
Téléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where MaxtDesign REST API Control stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| api control | #57 |
| disable REST API | #80 |
| json api | >100 |
| API REST | >100 |
| la sécurité | >100 |
Adoption de version
Part de sites actifs par version.
About MaxtDesign REST API Control
À partir du Lisezmoi officiel · v1.0.5Description
MaxtDesign REST API Control gives you complete control over who can access your WordPress REST API and which endpoints are available.
By default, WordPress exposes a REST API to the public, which can reveal usernames, post data, and site structure to anyone. This plugin lets you lock down the REST API for unauthenticated visitors while keeping it fully functional for logged-in users and the plugins that need it.
Principales caractéristiques
- One-click disable — Block all REST API access for unauthenticated users with a single toggle.
- Endpoint whitelisting — Auto-discovers all registered REST API endpoints and lets you whitelist specific ones, even when the API is disabled.
- Per-role access control — Restrict REST API access for specific user roles with individual endpoint whitelists.
- Smart defaults — Automatically detects Contact Form 7 and WooCommerce and whitelists their required endpoints on activation.
- Zero frontend footprint — No CSS, JavaScript, or HTTP requests are added to your frontend. Ever.
- Lightweight — No database queries on frontend requests. Uses a single autoloaded option.
- Import/Export — Transfer settings between sites with JSON export and import.
- Clean uninstall — Removes all plugin data when deleted. Leaves no trace.
Comment cela fonctionne
The plugin uses the rest_authentication_errors filter — the correct, modern WordPress approach — to intercept REST API requests early in the lifecycle, before any endpoint logic executes. This means blocked requests have virtually zero performance impact.
Built for Performance
This plugin follows the MaxtDesign performance-first philosophy:
- Zero frontend asset loading (no CSS, no JS, no HTTP requests)
- Admin assets load only on the plugin’s own settings page
- Single autoloaded database option — no extra queries
- Filter fires before endpoint logic — blocked requests are fast
Intimité
This plugin makes no external HTTP requests, sets no cookies, loads no third-party scripts, and collects no analytics. It does not track usage and never “calls home.” It stores a single settings option (mdra_settings) in your database and nothing else; that option is removed when you delete the plugin. No personal or visitor data is processed or transmitted.
La sécurité
Found a security issue? Please report it privately to security@maxtdesign.com rather than posting
in a public support thread. We aim to acknowledge reports within 3 business days and will agree a
disclosure timeline with you.
Please include the plugin version, steps to reproduce, and the impact as you understand it. We will
credit you in the changelog unless you would rather stay anonymous, and we ask that you do not test
against a site you do not own.
This plugin is published on WordPress.org by the account slaacr, which is MaxtDesign. The account
name predates the brand and WordPress.org does not support renaming accounts, so the two names
differ. Anything published under slaacr is ours.
Installation
- Téléchargez le dossier
maxtdesign-rest-api-controlà/wp-content/plugins/. - Activez le plugin via le menu plugins dans WordPress.
- Go to Settings > REST API Control to configure.
- The REST API is blocked for unauthenticated users by default. Adjust the whitelist as needed.
Journal de modifications
Internationalization fix so the plugin is translatable via WordPress.org. No functional change.
1.0.5
- Internationalization: the text domain now matches the plugin slug (
maxtdesign-rest-api-control) so the plugin can be translated through the WordPress.org translation system. No functional change.
1.0.4
- Renamed the plugin to MaxtDesign REST API Control to better reflect what it does — whitelist and per-role control, not just an on/off switch. The in-product menu and settings page were already named “REST API Control”; this aligns the plugin’s public name with them. No settings, hooks, or behaviour changed.
1.0.3
- Fix: route-level whitelisting now works for parameterized endpoints. Checking an individual route such as
wp/v2/posts/(?P<id>[\d]+)previously stored a corrupted value (the sanitiser mangled the regex) and could never match a real request. Route patterns are now stored intact and matched the way WordPress itself matches them. Namespace-level whitelisting was unaffected. - Improve: multi-role users now get the most permissive result. Any unrestricted role grants full access; if every role is restricted, their whitelists are combined. Previously the first restricted role found could lock out a user who also held an unrestricted role.
- Fix: the “requires REST API access” compatibility warnings now appear on every visit to the settings page, not only immediately after saving.
- Improve: smart defaults are now seeded per-site on multisite — both on network-wide activation and for sites created later.
- Improve: the custom error message now stores empty as “use the default,” so the blocked-request message always follows the site’s current language instead of freezing whichever locale was active when it was saved.
- Performance: the settings page no longer instantiates its admin UI on front-end or REST requests, and discovers the REST route table only once per page load.
- Housekeeping: removed an unused internal placeholder class and tidied redundant nonce-check branches.
1.0.2
- Fix: the REST API root index (
/wp-json/) is now blocked when “Disable REST API for unauthenticated users” is on. Previously, the controller’s route-lookup returned an empty string for the root index and the code took an early fail-open branch — meaning the most-scraped discovery URL was always exposed even when the plugin was active. Logged-out visitors and unauthenticated scrapers now hit the configured error response on/wp-json/like any other endpoint.
1.0.1
- Compatibility: confirmed against WordPress 7.0 (“Armstrong”).
- Hardening: import-settings now validates uploads with
is_uploaded_file()and reads the temp file directly instead of mis-sanitising the server-generated path. - Hardening: activation hook defensively loads
wp-admin/includes/plugin.phpbefore callingis_plugin_active()so WP-CLI and multisite bulk-activate paths can’t fatal. - Fix: the “this plugin requires REST API access” compatibility notice no longer fires for plugins whose namespaces aren’t actually registered on the site (e.g. WooCommerce installed but Store API blocks not loaded).
- Cleanup: removed the now-unnecessary
load_plugin_textdomain()call. WordPress.org handles translation loading automatically since WP 4.6, and the just-in-time loader added in 6.7 made the explicit call dead code.
1.0.0
- Version initiale.
- Global REST API toggle for unauthenticated users.
- Auto-discovery of all registered REST API endpoints.
- Endpoint whitelisting with collapsible namespace tree.
- Per-role REST API access controls.
- Smart defaults for Contact Form 7 and WooCommerce.
- Custom error message for blocked requests.
- Settings import/export as JSON.
- Clean uninstall — removes all plugin data.
Captures d'écran
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
FAQ
MaxtDesign REST API Control: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is MaxtDesign REST API Control free?
Yes. MaxtDesign REST API Control is free to download and use from the official WordPress.org plugin directory.
Is MaxtDesign REST API Control safe to use in 2026?
MaxtDesign REST API Control is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites and was last updated 3 months ago, and scores 63/100 on our health check.
How many websites use MaxtDesign REST API Control?
MaxtDesign REST API Control is active on 20+ WordPress websites and has been downloaded 447 times since it launched in June 2026. It was downloaded 99 times in the last 30 days.
Does MaxtDesign REST API Control work with WordPress 7.1?
Yes. The developer has tested MaxtDesign REST API Control up to WordPress 7.1.5, the latest release. It requires WordPress 6.4 or newer.
What PHP version does MaxtDesign REST API Control need?
MaxtDesign REST API Control requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was MaxtDesign REST API Control last updated?
The latest version, 1.0.5, was released on September 14, 2026 (3 months ago).
Who makes MaxtDesign REST API Control?
MaxtDesign REST API Control is developed and maintained by MaxtDesign.
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit




