By default, Paid Memberships Pro enforces the same minimum password strength requirements as core WordPress on its Password Reset, Change Password, and profile update pages. This code recipe disables that enforcement with a single filter, so members can set a weaker password if they want.

Allow Members to Create Weak Passwords During Reset or Profile Update code recipe

Do You Need This Recipe?

This recipe fits sites that prioritize member convenience over strict password rules, or sites that handle authentication security another way. Turning off PMPro’s password strength check does not add a new capability. It removes an existing one, so use it only when weaker member passwords are an acceptable tradeoff for your site.

If you want the opposite, passwords enforced more strictly than WordPress’s own default, use our Require Strong Passwords Add On instead.

Best Practices and Considerations

This filter requires Paid Memberships Pro 2.3.3 or later.

The change applies sitewide. Once active, every member can set a weak password on the Password Reset and Change Password pages. There is no built-in way to scope it to specific membership levels or user roles.

Note: Allowing weak passwords lowers the security of member accounts. Use this recipe only if password strength is not critical to your membership model, or if you enforce authentication security another way.

About the Code Recipe

This recipe uses the pmpro_allow_weak_passwords filter. PMPro checks this filter’s return value before validating a password on the Password Reset and Change Password pages. Returning true skips the password strength check entirely, so PMPro accepts any password a member submits, regardless of length or complexity.

The Code Recipe

Change Password form on the PMPro member account page showing a very weak password entered without being blocked from submitting

Adding the Recipe to Your Website

You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.

This code recipe requires no customizations.

Video: Coding with Sam Walkthrough



Was this article helpful?
YesNo

Free Course: Membership Site Development—The Basics

Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.

Featured Image for Membership Site Development Course: The Basics