跳到内容

Nextfly Domain Restricted Access

v1.0.1

NEXTFLY® Web Design · 2026年3月19日 上架

Restrict access to post and page based on authorized email domains. Users verify identity via secure email links.

正在使用
10 以下
评分
暂无
累计下载
607
最近更新
2026年9月16日
需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+

截图

Settings Page: Configure email templates and cookie duration.
Settings Page: Configure email templates and cookie duration.
Metabox: Easily add authorized domains to any post or page.
Metabox: Easily add authorized domains to any post or page.
Frontend Form: The clean, simple email request form presented to users.
Frontend Form: The clean, simple email request form presented to users.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums