BLOG

“I still suggest you call
this page 42Lab.
Works for both of us!”
- Joey

WordPress 101: Tips, Tricks and Hacks

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' );
42 works

Why do Market Leaders rely on Social Listening?

Read Blog

42Works announces COVID-19 relief measures for all its team members

Read Policy
42 works
Get 42Works Blog updates in your Inbox!

    Washington United States 207.46.13.17 https://42works.net/delete-error-notification-on-loginpage-wordpress/