Title: WP Force Password
Author: Galaxy Weblinks
Published: <strong>2020 年 11 月 11 日</strong>
Last modified: 2026 年 6 月 2 日

---

搜索插件

![](https://ps.w.org/wp-force-password/assets/banner-772x250.png?rev=2416461)

![](https://ps.w.org/wp-force-password/assets/icon-256x256.png?rev=3096545)

# WP Force Password

 作者：[Galaxy Weblinks](https://profiles.wordpress.org/galaxyweblinks/)

[下载](https://downloads.wordpress.org/plugin/wp-force-password.2.4.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-force-password/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-force-password/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-force-password/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-force-password/#developers)

 [支持](https://wordpress.org/support/plugin/wp-force-password/)

## 描述

This plugin is ideal for security reasons, provides password update reminders.

In the plugin settings, you can set Password Reset Days, and Select User roles will
be required to reset their password regularly.

If the user password has expired this plugin redirects the login user to the admin
screen profile.php page and the front end login lost password page wp-login.php 
to force change their password.

And also notice is displayed informing they must require to change their password
to continue using this website.

Features of the Free WP Force Password plugin:
 * Add password reset days * Select
user roles to allow the change expiry password * Enable/Disable reset password feature
for any user * Force users to update expiry password * Reminder email notification
for password expired

Pro Features:
 – Enable force password reset for all user based on the user regsitration
date

### Upgrade to Pro

    ```
    Unlock powerful customization with the **Pro version**:
    - WP Force Password PRO version
    - Enable force password reset for all user based on the user regsitration date. 
    - Priority support and regular feature updates
    ```

Explore more here:
 [Documentation](https://wp-plugins.galaxyweblinks.com/wp-plugins/wp-force-password/doc/)
[Support](https://wp-plugins.galaxyweblinks.com/contact/)

[WP Force Password PRO version](https://wp-plugins.galaxyweblinks.com/product/wp-force-password-pro-version/)

### How can I disable notifications based on the WordPress environment

This plugin use wp_get_environment_type() to retrieve the current environment type.

the WP_ENVIRONMENT_TYPE in the wp-config.php file to disable the notification for
all the environments except the production.

The type can be set via the WP_ENVIRONMENT_TYPE in wp-config.php file.

Possible values are ‘local’, ‘development’, ‘staging’, and ‘production’. If not 
set, the type defaults to ‘production’.
 [Refrence url](https://developer.wordpress.org/reference/functions/wp_get_environment_type/)

## 屏幕截图

[⌊Plugin setting options to allow the users role for force password reset feature⌉⌊
Plugin setting options to allow the users role for force password reset feature⌉[

Plugin setting options to allow the users role for force password reset feature

[⌊Enable or Disable reset password feature for any user⌉⌊Enable or Disable reset
password feature for any user⌉[

Enable or Disable reset password feature for any user

[⌊Profile page change expiry password notification⌉⌊Profile page change expiry password
notification⌉[

Profile page change expiry password notification

[⌊Front end log in lost your password page change expiry password notification⌉⌊
Front end log in lost your password page change expiry password notification⌉[

Front end log in lost your password page change expiry password notification

## 安装

Installation Steps

 1. Upload the folder to `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to the admin WP Force Password Menu to enable plugin options

## 常见问题

### How to use the WP Force Password plugin?

In the plugin settings, you can set Password Reset Days, and Select User roles will
be required to reset their password regularly.
 ex: wp-admin > WP Force Password

### How we can enable or disable the force password reset feature for any user?

Admin can edit any user profile or any user have an option on the profile page to
enable or disable the force password reset feature.
 In the plugin settings, the
only selected user roles can use enable or disable the force password reset feature.
ex: wp-admin > profile.php > Enable Force Password

### How to update the expiry password?

If the user’s password has been expired then after login it will automatically redirect
to the admin screen profile page to see change expiry password notification then
update the expiry password.
 ex: wp-admin > profile.php > New Password and in the
site, front end login lost password page to see change expiry password notification
then update the expiry password. ex: wp-login.php?action=lostpassword

### How to change the expiry password notification message?

Admin can set the expiry password notification message, via the plugin setting page
added password change notification message otherwise it will show the default message.

ex: wp-admin > WP Force Password > Expiry Password Change Notification Message

### How can I disable notifications based on the WordPress environment

This plugin use wp_get_environment_type() to retrieve the current environment type.

The WP_ENVIRONMENT_TYPE in the wp-config.php file to disable the notification for
all the environments except the production.

The type can be set via the WP_ENVIRONMENT_TYPE in wp-config.php file.

Possible values are ‘local’, ‘development’, ‘staging’, and ‘production’. If not 
set, the type defaults to ‘production’.
 Refrence url : https://developer.wordpress.
org/reference/functions/wp_get_environment_type/

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP Force Password」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Galaxy Weblinks ](https://profiles.wordpress.org/galaxyweblinks/)

[帮助将「WP Force Password」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-force-password)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-force-password/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wp-force-password/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-force-password/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-force-password/)。

## 更新日志

#### 2.4

Checked compatibility with WordPress 7.0.
 Security improvements for redirects, 
settings sanitization, and form handling.

#### 2.3

New Release

#### 2.2

Checked compatibility with wordpress 6.8
 Introduce paid version of plugin force
password pro to enhance the functionality.

#### 2.1

Stable Release

#### 2.0

Stable Release

#### 1.2.3

Stable Release

#### 1.2.2

Checked compatibility with php 8.2

#### 1.2.1

Checked compatibility with wordpress 6.5.2

#### 1.2

Added wp_get_environment_type() support to retrieves the current environment type
and disable the notification for all the environment except the production.

#### 1.1

Stable Release

#### 1.0

First Stable Release

## 额外信息

 *  版本 **2.4**
 *  最后更新：**1 周前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 5.6 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-force-password/)
 * 标签
 * [password](https://cn.wordpress.org/plugins/tags/password/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-force-password/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wp-force-password/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-force-password/reviews/)

## 贡献者

 *   [ Galaxy Weblinks ](https://profiles.wordpress.org/galaxyweblinks/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-force-password/)