跳到内容

Domain Based Role Assignment

v1.0.0

We Are Volume · 2024年12月9日 上架

Automatically assign WordPress user roles based on email domains during registration with an easy-to-use domain management interface.

正在使用
30+
评分
暂无
累计下载
1,099
最近更新
2024年12月10日
需要 WordPress 6.7+已测试到 6.7.12PHP 8.1+

贡献者

Domain Based Role Assignment automatically assigns user roles based on their email domains during registration. It provides a simple admin interface to manage domain-to-role mappings and streamlines user role management.

Key Features

  • Automatic Role Assignment: Automatically assigns roles to users based on their email domain during registration
  • Domain Management: Easy-to-use admin interface to manage domain-role mappings
  • Works with Role Editor: Compatible with all WordPress roles, including custom roles
  • Simple Administration: Add, view, and delete domain rules through a clean admin interface
  • Bulk User Management: When removing a domain rule, preserves user accounts while managing role assignments
  • Security: Implements WordPress security best practices and nonce verification

Configuration

= Adding Domain Rules =
1. Go to ‘Settings > Domain Role Assignment’ in your WordPress admin panel
2. In the “Add New Domain Rule” section:
* Enter a domain (e.g., “example.com”)
* Select the role to assign
* Click “Add Domain Rule”

Managing Existing Rules

  1. View all current domain rules in the “Current Domain Rules” table
  2. Each rule shows:
    • The domain
    • The assigned role
    • Option to delete the rule

Technical Details

Requires WordPress 5.0 or higher and PHP 7.2 or higher.

Support

For support:
1. Check configuration
2. Verify WordPress version compatibility
3. Check error logs
4. Ensure proper permissions

Plums

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

导航

说明

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

© 2026 Plums