Custom Password Error Message (Login)
-
Dear all,
I am more than happy with your plugin but ran into a minor issue. For my website I need 2 different login forms. The first one does have a password field so the error message “Please enter your password” is fine but in the second form the field does have another name so I need to customise the error message only on the second form.I found something like this but I am not sure
1. How to add it to a single form / page
2. Make it workadd_filter( 'um_submit_form_error', 'my_submit_form_error', 10, 2 ); function my_submit_form_error( $error, $key ) { // 1. add a custom error string that says "Eingabe fehlerhaft. Bitte überprüfen Sie ihre Daten". return $error; }
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Custom Password Error Message (Login)’ is closed to new replies.