跳到内容

Multi-Email Login

v1.0.2

mdburnette · 2026年1月5日 上架

Allow users to login with multiple email addresses on a single WordPress account.

正在使用
10 以下
评分
暂无
累计下载
459
最近更新
2026年1月6日
需要 WordPress 5.0+已测试到 6.9.12PHP 7.2+

贡献者

Multi-Email Login is a WordPress plugin that enables users to associate multiple email addresses with a single account and authenticate using any of them. This solves a common problem where users have multiple email addresses (personal, work, legacy accounts) but want to maintain a single WordPress profile.

Why Use Multi-Email Login?

  • Flexibility: Users can login with whichever email address they have handy
  • Account Consolidation: No need to create separate accounts for different email addresses
  • Smooth Transitions: When changing primary email addresses, users can keep both active for seamless access
  • Business Use: Perfect for team members who use multiple email addresses across different departments or clients
  • Zero Friction: Works transparently with WordPress authentication—no special configuration needed

Features:
* Multiple email addresses per user (unlimited)
* Login with any associated email address
* Seamless WordPress authentication integration
* Unique email enforcement
* User-friendly interface
* No configuration needed
* No WordPress core modifications
* Developer-friendly API for finding users by any email address

Security:
* Email format validation
* Input sanitization
* AJAX nonce protection
* User capability checks
* Password verification
* Duplicate prevention

Developer Usage

The plugin provides a simple API for developers to work with multiple email addresses:

Find a user by any email address (primary or secondary):
$user = melog_get_user_by( ’email’, ‘user@example.com’ );

This function works just like WordPress’s get_user_by() but automatically checks both primary and secondary email addresses.

Instead of:
$user = get_user_by( ’email’, ‘user@example.com’ );

Use:
$user = melog_get_user_by( ’email’, ‘user@example.com’ );

For other field types (login, ID, slug), it behaves identically to the standard WordPress function.

Plums

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

导航

说明

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

© 2026 Plums