WordPress as a Content Management System comes with a lot of default functionality. One of these essential default features includes login page error notifications. These error notifications are shown when a user enters an incorrect combination of username and password.
How to delete error notifications in WordPress?
But what happens when you want to disable or change these login error notifications on WordPress? In this article, we will guide you through the process of disabling/changing error messages on your WP login page.
To modify your login page error message, you need to add the following code snippet to your functions.php file.
function no_wordpress_errors(){ return 'GET OFF MY WEBSITE !! RIGHT NOW !!'; } add_filter( 'login_errors', 'no_wordpress_errors' );