当前位置:网站首页>wordpress禁止指定用户名登录或注册插件【v1.0】
wordpress禁止指定用户名登录或注册插件【v1.0】
2022-07-27 09:24:00 【ts小陈】
WordPress 是目前世界上最受欢迎的开源建站系统,这就造成有很多恶意登录的记录,有时候还会恶意登录,虽然问题不大但是这样也浪费了不少服务器资源。
那么我们是否可以设置禁止某些用户名登录或者注册,百度上很多教程但是对于小白来说多少有点困难。
为小白提供插件,插件思路
通过判断注册和登录 POST 数据中的用户名决定是否允许执行注册或登录动作。
注册判断使用 register_post 动作,登录判断使用 wp_authenticate 动作。
插件功能
禁止黑名单中的用户名登录和注册
插件下载
用户登录或注册黑名单 v1.0
123盘:https://www.123pan.com/s/5HJrVv-InKl3
蓝奏:https://cjw41415.lanzouq.com/iiuu708dp0ah
插件设置展示

使用效果

边栏推荐
- Nacos配置中心动态刷新数据源
- Run uni app project in hbuilder wechat applet
- 为什么微服务一定要有API网关?
- 走向人生巅峰....
- 如果mysql磁盘满了,会发生什么?还真被我遇到了!
- STL container -- Application of set set
- Esp8266 Arduino programming example ADC
- 七月集训(第14天) —— 栈
- The whole process of principle, simulation and verification of breath lamp controlled by FPGA keys
- Vscode uses remote SSH connection and the solution of connection failure
猜你喜欢

NPM install error forced installation

Quickly apply JS to customize the effect of lunar phase change

ES6 new - deconstruction assignment of array / object

Wechat applet 5 - foundation strengthening (not finished)

九种方式,教你读取 resources 目录下的文件路径

Eureka 延迟注册的一个坑
![[wechat applet] lunar calendar and Gregorian calendar are mutually converted](/img/6e/ad01756f8da54901a64c5323e4b747.png)
[wechat applet] lunar calendar and Gregorian calendar are mutually converted

拟搬迁!211中国石油大学(华东)新校区,正式启用!
![[C language _ study _ exam _ review lesson 3] overview of ASCII code and C language](/img/72/d3e46a820796a48b458cd2d0a18f8f.png)
[C language _ study _ exam _ review lesson 3] overview of ASCII code and C language

645. Wrong set
随机推荐
STL container - basic operation of queue and deque
七月集训(第05天) —— 双指针
JS call and apply
【CTF】ciscn_2019_es_2
九种方式,教你读取 resources 目录下的文件路径
[C language - zero foundation lesson 8] circular structure and break continue
Sentinel 万字教程 | 文末送书
ES6 new - Operator extension
通俗易懂!图解Go协程原理及实战
Quickly apply JS to customize the effect of lunar phase change
Nacos做注册中心使用
July training (day 04) - greed
七月集訓(第07天) —— 哈希表
C# 给Word每一页设置不同文字水印
【云原生】我怎么会和这个数据库杠上了?
【线性代数01】矩阵的转置和逆
Esp8266 Arduino programming example - interrupt
ESP8266-Arduino编程实例-ADC
Summary of traversal methods
2068. Check whether the two strings are almost equal