[WordPress] 外掛分享: Nextfly Domain Restricted Access

首頁外掛目錄 › Nextfly Domain Restricted Access
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.0 上架:2026-03-18

內容簡介

Nextfly Domain Restricted Access 外掛可限制特定電子郵件域名的使用者訪問文章和頁面。使用者需透過發送至其收件箱的唯一魔法連結來驗證電子郵件地址,適合內部公司門戶或特定客戶的內容。

【主要功能】
• 域名基礎限制:輕鬆白名單電子郵件域名
• 安全魔法連結:用戶收到一次性訪問連結
• 無需密碼:簡化用戶體驗
• 可自訂電子郵件:配置郵件主旨和內容
• 基於 Cookie 的訪問:設定訪問有效時間
• 開發者友好:包含擴展功能的鉤子

外掛標籤

開發者團隊

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

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

原文外掛簡介

Nextfly Domain Restricted Access allows you to restrict post and page access to specific email domains. Users must validate their email address via a unique magic link sent to their inbox.
This plugin is perfect for internal company portals, client-specific pages, or any content that should be accessible only to users with a specific email domain (e.g., @company.com).
Key Features:
* Domain-Based Restriction: Easily whitelist email domains for any post or page.
* Secure Magic Links: Users receive a time-sensitive, one-time-use access link via email.
* No Passwords Required: Simplifies user experience by eliminating the need for passwords.
* Customizable Emails: Configure the email subject and body template.
* Cookie-Based Access: Set how long access remains valid (default: 7 days).
* Developer Friendly: Includes hooks for extending functionality.
Usage
To Protect a Post/Page:
1. Edit any post or page you want to protect.
2. Look for the “Nextfly Domain Restricted Access” metabox in the sidebar.
3. Enter the authorized email domains (one per line, e.g., company.com).
4. Update or Publish the post.
To Configure Settings:
1. Navigate to Settings > Nextfly Domain Restricted Access.
2. Customize the email subject and body (use %access_link% as a placeholder).
3. Set the cookie duration (how long a user stays logged in).
4. Select the Redirect Page (where users are sent to login).
Developers
The plugin includes hooks to extend its functionality.
Filters:
nfdra_post_types – Add support for custom post types.
nfdra_email_headers – Modify email headers (e.g., add BCC).
Actions:
nfdra_before_send_email – Fires before email is sent.
nfdra_after_send_email – Fires after email is sent.
nfdra_access_granted – Fires when user is granted access.
nfdra_access_denied – Fires when access token is invalid.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon