Created
October 13, 2015 00:35
-
-
Save ko31/2f0505bf79e9106953ed to your computer and use it in GitHub Desktop.
【WordPress】ログインエラーメッセージを汎用的なものに変更する
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function my_wp_error_msgs() { | |
return "ユーザー名かパスワードが正しくありません。"; | |
} | |
add_filter( 'login_errors', 'my_wp_error_msgs' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment