跳至主要內容
WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Multi-Email Login

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Multi-Email Login

由mdburnette
下載
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

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.

安裝

  1. Upload the multi-email-login folder to /wp-content/plugins/
  2. Activate the plugin from the WordPress Plugins menu
  3. Go to Users → Your Profile and add secondary emails
  4. Login with any associated email address

常見問題

Can I login with any of my associated emails?

Yes! Once you add an email address to your account, you can use it to login just like your primary email.

Is there a limit to how many emails I can add?

No, you can add as many email addresses as you need to your account.

Are my emails secure?

Yes, all emails are validated and stored securely. AJAX requests are protected with nonces and user capabilities are verified.

Will this work with multisite?

Yes, the plugin is fully compatible with WordPress multisite installations.

Can developers use this in their code?

Yes! Developers can use the melog_get_user_by() function as a drop-in replacement for WordPress’s get_user_by(). It automatically checks both primary and secondary email addresses when looking up users by email.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Multi-Email Login” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • mdburnette

將 Multi-Email Login 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

修改日誌

1.0.2

  • Added melog_get_user_by() function for developers

1.0.1

  • Fixed WordPress security standards compliance
  • Improved code documentation
  • Enhanced error handling

1.0.0

  • Initial release

其它

  • Version 1.0.2
  • Last updated 5 個月之前
  • Active installations 少於10
  • WordPress version 5.0 or higher
  • Tested up to 6.9.4
  • PHP version 7.2 or higher
  • Language
    English (US)
  • Tags
    authenticationemailloginmultiple emailsuser management
  • 進階顯示

評分

No reviews have been submitted yet.

Your review

See all reviews

貢獻者

  • mdburnette

支援

有話想說?需要協助?

檢視支援論壇

  • 關於我們
  • 最新消息
  • 寄存
  • 隱私權
  • 展示網站
  • 佈景主題
  • 外掛
  • 區塊版面配置
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Hong Kong 香港中文

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 訪問我們的 Facebook 專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
代碼就是詩歌。
The WordPress® trademark is the intellectual property of the WordPress Foundation.