I need to get the password from a failed login attempt in WordPress but I don’t know how, I’m using the action wp_failed_login to hook into this but when I do:
add_action('wp_login_failed', 'login_failed_func');
function login_failed_func($args){
var_dump($args);
}
It only returns the username, does anyone know what I should do?
Thanks in advance!
You could adjust your function like this: