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

Exploring the Future of Apps with Apple

Read Blog

Dream Bigger. Work Greener.
Explore Our New & Sustainable Workspace

READ POLICY
42 works
Get 42Works Blog updates in your Inbox!

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