• Resolved tmendes

    (@thaissamendes)


    Hi,

    Could you please add a filter allowing us to customize the error message that appears when user uses the wrong key to reset their password? I’m talking specifically about wp-content/plugins/userswp/includes/class-forms.php line 1857 (v. 1.2.3.6), but if you could also add filters to other use cases, would also be great.

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Support alexrollin

    (@alexrollin)

    Hello,

    We have added ‘uwp_reset_password_error_message’ filter but it will be available in the next plugin update.

    With that update f you want then you can add following line at line no. 1857 just before the line you mentioned:

    $error = apply_filters('uwp_reset_password_error_message', $user_data->get_error_message(), $user_data);

    Let us know if it works for you or not

Viewing 1 replies (of 1 total)
  • The topic ‘Reset password error message filter’ is closed to new replies.