Unable to show error message using wp_login action
My goal is to show an error message when i check if the user is locked or not, the problem is that when the function ends, it redirects to the page that must appear after succesfull login. Objectives: Check if the user is locked “solved” If it is, create the error message Display the error … Read more