我想在我的wordpress网站的用户名和密码验证功能中为特定用户名添加一些额外的检查,但我找不到正确的php文件。。。
/* I would like to do something like this */
if ($username == "testuser_with_no_rights") {
/* ... */
}
else {
/* do everything as it was defined originally */
}
所以,基本上,
where is the php file, that does the checks for login information? 也有可能有更好的方法来做到这一点。如果是这样的话,我也愿意接受建议