Home / functions.php / Hide wordpress login errors
  • How to Hide wordpress login errors

    no thumbnail sorry: Hide wordpress login errors

    Adding this PHP code to the functions.php of your wordpress theme will disable the login errors that are displayed to users. Help prevents people from guessing your user name or password.

    ( click code to copy )

    wordpress snippet : PHP

    <>
    add_filter('login_errors', create_function('$a', "return null;"));
    

    ( WordPress codex functions, hooks, in this snippet. )

    login_errors, add_filter, _e,