[wordpress插件] Disable Users禁用用户

wordpress 插件 文章 2020-04-18 15:40 686 0 全屏看文

AI助手支持GPT4.0

评分
92
描述

This plugin gives you the ability to disable specific user accounts via a profile setting.

此插件使您能够通过配置文件设置禁用特定的用户帐户。

Once installed and activated, a checkbox appears on the user profile settings (only for admins).

安装并激活后,用户配置文件设置上将出现一个复选框(仅适用于管理员)。

When checked, the users account will be disabled and they will be unable to login with the account.

选中后,用户帐户将被禁用,他们将无法使用该帐户登录。

If they try to login, they are instantly logged out and redirected to the login page with a message that notifies them their account is disabled.

如果他们尝试登录,他们将立即注销并重定向到登录页面,并显示一条消息,通知他们其帐户已被禁用。

This can be useful in a few situations.

这在某些情况下很有用。

    • You are working on a site for a client who has an account, but do not want him to login and/or make changes during development.
    • 您正在为拥有帐户但不希望他在开发期间登录和/或进行更改的客户的网站工作。

    • You have a client who has an unpaid invoice.
    • 您的客户有未付款的发票。

    This plugin is on GitHub! Pull requests are welcome

    此插件在GitHub上!

    .

    If possible please report issues through Github.

    如有可能,请通过Github报告问题。

安装步骤

    1. Upload disable-users to your /wp-content/plugins/ directory.
    2. disable-users 上载到您的 / wp-content / plugins / 目录。

    3. Edit any user and then look for the “Disable User Account” checkbox.
    4. 编辑任何用户,然后查找“禁用用户帐户”复选框。

下载地址
https://downloads.wordpress.org/plugin/disable-users.zip
-EOF-

AI助手支持GPT4.0