Title: Customizing Error Text!
Last modified: September 1, 2016

---

# Customizing Error Text!

 *  Resolved [mattvogt](https://wordpress.org/support/users/mattvogt/)
 * (@mattvogt)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/customizing-error-text/)
 * Just wanted to add this incase people didn’t know:
 * To customize the login error (checks for the word password)
 *     ```
       add_filter('pp_login_error','login_error_message');
       function login_error_message($error){
           //check if that's the error you are looking for
           $pos = strpos($error, 'password');
           if (is_int($pos)) {
               //its the right error so you can overwrite it
               $error = 'Custom Error Msg';
           }
           return $error;
       }
       ```
   
 * To customize the reset password error (checks for the word user)
 *     ```
       add_filter('pp_password_reset_notice','reset_error_message');
       function reset_error_message($error){
           //check if that's the error you are looking for
           $pos = strpos($error, 'user');
           if (is_int($pos)) {
               //its the right error so you can overwrite it
               $error = 'Custom Error Msg';
           }
           return $error;
       }
       ```
   
 * [https://wordpress.org/plugins/ppress/](https://wordpress.org/plugins/ppress/)

The topic ‘Customizing Error Text!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ppress_905d67.svg)
 * [[Abandoned] PPress](https://wordpress.org/plugins/ppress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ppress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ppress/)
 * [Active Topics](https://wordpress.org/support/plugin/ppress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ppress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ppress/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mattvogt](https://wordpress.org/support/users/mattvogt/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/customizing-error-text/)
 * Status: resolved