跳到内容

WP-OTP

v0.7.0

noplanman · 2016年11月4日 上架

Make your WordPress login extra secure with One Time Passwords.

正在使用
100+
评分
4.0 / 5
累计下载
1.2 万
最近更新
2026年10月18日
9 条评价需要 WordPress 6.4+已测试到 7.1.5PHP 8.2+

贡献者

With WP-OTP you can set up 2 Factor Authentication with One Time Passwords for your WordPress login.
This extra layer makes your WordPress site more secure.

Stealth mode allows for invisible OTP code entry, making your login screen look like any other, no extra OTP code input field.

For a more comprehensive solution, use Two Factor by WordPress instead!

Getting started

After installing and activating the plugin, every user can enable WP-OTP on their profile page.

It’s as easy as scanning the provided QR Code or entering the OTP secret to any OTP generator app.
Then activate it by entering the generated OTP and voilà, all set up.
Now, the login requires an OTP code to succeed.

Each user gets their own secret key to authenticate with, giving them control over their login security.

Development

This plugin is completely open source and a work of passion.
If you would like to be part of it and join in, make your way over to the project page now.

Configuration

  • WP_OTP_STEALTH: Set this to true to enable stealth OTP mode.

Filters

There are a multitude of filters to be adjusted.

  • wp_otp_qr_code_provisioning_uri: URI for online QR Code rendering (must contain {PROVISIONING_URI} placeholder for QR Code data).
  • wp_otp_login_form_text: Text for input field on the login screen.
  • wp_otp_login_form_text_sub: Subtext for the input field on the login screen.
  • wp_otp_login_form_invalid_code_text: Error text for an invalid code input on the login screen.
  • wp_otp_code_expiration_window: Set the window of code verification expiration.
  • wp_otp_recovery_codes_count: Number of recovery codes to generate.
  • wp_otp_recovery_codes_length: Length of the recovery codes.
  • wp_otp_secret_length: Length of the secret key.

Minimum requirements

WordPress 6.4, PHP 8.2.

Donate / Support

All donations are much appreciated, thank you 🙏

Security

To report a security vulnerability, please email me at security@noplanman.ch.

Plums

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

导航

说明

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

© 2026 Plums