当前位置:网站首页>WordPress prohibits login or registration of plug-ins with a specified user name [v1.0]

WordPress prohibits login or registration of plug-ins with a specified user name [v1.0]

2022-07-27 09:38:00 TS Xiaochen

WordPress It is currently the most popular open source website building system in the world , This leads to a lot of malicious login records , Sometimes malicious login , Although it's not a big problem, it also wastes a lot of server resources .

Then can we set to prohibit some user names from logging in or registering , Baidu has many tutorials, but it's a little difficult for Xiaobai .

Provide plug-ins for Xiaobai , Plug in ideas

By judging the registration and login POST The user name in the data determines whether the registration or login action is allowed .

Register to judge using register_post action , Login judgment use wp_authenticate action .

Plug in features

Prohibit login and registration of user names in the blacklist

Plugin Download

User login or registration blacklist v1.0

123 disc :https://www.123pan.com/s/5HJrVv-InKl3

Blueplay :https://cjw41415.lanzouq.com/iiuu708dp0ah

Extraction code

Display of plug-in settings

Use effect

原网站

版权声明
本文为[TS Xiaochen]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/208/202207270924251071.html