How can I redirect user after entering wrong password?
Question
I’m using wp_login_form()
to display login form in a jQuery dialog window.
If user enters wrong password, the user is taken to the backend. I don’t want that. Is there a way to notify user that he entered wrong password and still remain on the same page?
Before wp_login_form()
came I was using a plugin. I’m kind of hoping I can avoid using a plugin for this.
My code:
wp_login_form( array(
'label_remember' => __( 'Remember me' ),
'label_log_in' => __( 'Login' )
) );
0
login, wp-login-form
5 months
0 Answers
65 views
0
Leave an answer
You must login or register to add a new answer .