Skip to content

Instantly share code, notes, and snippets.

@fangcat
Created July 24, 2014 05:28
Show Gist options
  • Save fangcat/2e019f16dc1d4b4c6e56 to your computer and use it in GitHub Desktop.
Save fangcat/2e019f16dc1d4b4c6e56 to your computer and use it in GitHub Desktop.
隱藏 WordPress 登入畫面的錯誤訊息
function no_errors_please(){
return '滾開 !! RIGHT NOW !!';}
add_filter( 'login_errors', 'no_errors_please' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment