[WordPress] 外掛分享: MaxtDesign REST API Control

首頁外掛目錄 › MaxtDesign REST API Control
WordPress 外掛 MaxtDesign REST API Control 的封面圖片
10+
安裝啟用
尚無評分
74 天前
最後更新
問題解決
WordPress 6.4+ PHP 8.2+ v1.0.5 上架:2026-06-17

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「MaxtDesign REST API Control」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.
Key Features

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.

How It Works
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

Privacy
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.

文章
Filter
Mastodon