[WordPress] 外掛分享: Extension Profiles

首頁外掛目錄 › Extension Profiles
WordPress 外掛 Extension Profiles 的封面圖片
全新外掛
安裝啟用
尚無評分
57 天前
最後更新
問題解決
WordPress 6.5+ PHP 7.4+ v1.0.0 上架:2026-02-15

內容簡介

總結:
Extension Profiles 是一個讓 WordPress 管理員建立「配置檔」,定義哪些外掛應該被啟用的工具。當配置檔啟用時,只有該配置檔中的外掛會在你的會話中載入,其他外掛則在不實際從數據庫中停用的情況下被過濾掉。

問題與答案:
1. Extension Profiles 的主要功能是什麼?
- Extension Profiles 讓 WordPress 管理員建立命名的「配置檔」,以定義應該啟用哪些外掛。

2. 為什麼 Extension Profiles 是開發和測試時的理想選擇?
- 可以快速在不逐一啟用/停用外掛的情況下,在不同配置之間進行切換。

3. Extension Profiles 如何處理外掛的啟動?
- Extension Profiles 使用一個 Must-Use (MU) 外掛,在 WordPress 載入外掛之前截取活躍的外掛清單。

4. 使用 Extension Profiles 需要哪些要求?
- WordPress 版本需為 6.5 或更高,PHP 版本需為 7.4 或更高,需要寫入權限到 wp-content/mu-plugins/ 目錄。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Extension Profiles lets WordPress administrators create named “profiles” that define which plugins should be active. When a profile is activated, only the plugins in that profile are loaded for your session. Other plugins are filtered out without actually being deactivated in the database.
This is ideal for:

Development and testing – Quickly switch between different configurations without activating/deactivating plugins one by one.
Troubleshooting – Isolate conflicts by creating minimal profiles.
Performance testing – Compare site performance with different plugin sets.

How It Works
Extension Profiles uses a Must-Use (MU) plugin that intercepts the active plugins list before WordPress loads them. This approach:

Never actually deactivates plugins in the database.
Only affects the current user’s session (via a secure cookie).
Has zero overhead when no profile is active.
Preserves all plugin settings and data.

Features

Taxonomy-style admin page – Familiar interface for creating and managing profiles under the Plugins menu.
Admin bar switcher – Quickly activate or deactivate profiles from the WordPress admin bar.
Dependency support – Automatically includes required plugins when WordPress 6.5+ “Requires Plugins” headers are present.
Per-session isolation – Each user can activate their own profile independently.
Plugins page notice – Clear warning banner on the Plugins page when a profile is active.

Requirements

WordPress 6.5 or higher (for dependency resolution).
PHP 7.4 or higher.
Write access to the wp-content/mu-plugins/ directory.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon