将下面的脚本添加到当前主题的functions.php文件中。
function no_wordpress_errors(){
return 'Something is wrong!';
}
add_filter( 'login_errors', 'no_wordpress_errors' );
将下面的脚本添加到当前主题的functions.php文件中。
function no_wordpress_errors(){
return 'Something is wrong!';
}
add_filter( 'login_errors', 'no_wordpress_errors' );
转载于:https://www.cnblogs.com/maiziblog/p/6773853.html