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' );
Adjust the background color of the progress bar.
apply_filters( 'pmprosp_progressbar_bg_color', '#aaaaaa' );
apply_filters( 'pmprosp_enable_verbose_password_validation', false );
Adjust the minimum password score when validating a password.
apply_filters( 'pmprosp_minimum_password_score', 2, $password_strength );
Filter to adjust the minimum password score message shown to the user.
apply_filters( 'pmprosp_minimum_password_score_message', implode( " ", $password_strength['feedback']['suggestions'] ), $password_strength ), 'pmpro_error' );
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.
You must have the Paid Memberships Pro plugin installed and activated with a valid license type to use this Add On.
- Navigate to Memberships > Add Ons in the WordPress admin.
- Locate the Add On and click “Install Now”.
- To install this plugin manually, download the .zip file above, then upload the compressed directory via the Plugins > Add New > Upload Plugin screen in the WordPress admin.
- Activate the plugin through the Plugins screen in the WordPress admin.
This is a Free Add On.
Create a free account or log in to gain access to downloads and documentation.