How it Works
This Add On checks to make sure the user has submitted a strong password by checking for length, lowercase/uppercase, numbers, special characters, and matching username. The WordPress Password Strength Meter Calculator is also included, allowing members to see how strong their password is. Developers can alter the password requirements by commenting out certain checks as well as adjust or remove the “hint” added to the password field on the checkout page.
Action and Filter Hooks
Below is a list of (optional) hooks that can be used to further customize the Require Strong Passwords Add On. These can be added to your PMPro Customizations Plugin or you can get in touch with our support team for more help with this.
Hide the tooltip after the word “Password”.
apply_filters( 'pmprosp_display_password_tooltip', bool '__return_false' );
Hide the words “Very weak”, “Weak”, “Medium”, “Strong”, “Mismatch” password strength indicator.
apply_filters( 'pmprosp_display_password_strength', bool '__return_false' );
Hide the password strength bar.
apply_filters( 'pmprosp_display_progressbar', bool '__return_false' );
You can also explore using the pmpro_checkout_confirm_password and pmpro_checkout_confirm_email filters in the core Paid Memberships Pro plugin to adjust the “Account Information” section of the checkout form.
- Upload the ‘pmpro-strong-passwords’ directory to the ‘/wp-content/plugins/’ directory of your site.
- Activate the plugin through the ‘Plugins’ menu in WordPress.