Skip to content

Instantly share code, notes, and snippets.

@ideadude
Created May 12, 2020 21:18
Show Gist options
  • Save ideadude/5a12119b9ce1c2aad87b2d69cb8f9505 to your computer and use it in GitHub Desktop.
Save ideadude/5a12119b9ce1c2aad87b2d69cb8f9505 to your computer and use it in GitHub Desktop.
Tell PMPro allow weak passwords on the change password and reset password forms.
/**
* Tell PMPro allow weak passwords on the change password and reset password forms.
* Requires PMPro v2.3.3+
*/
add_filter( 'pmpro_allow_weak_passwords', '__return_true' );
@laurenhagan0306
Copy link

This recipe is included in the blog post on "Allow Members to Create Weak Passwords During Reset or Profile Update" at Paid Memberships Pro here: https://www.paidmembershipspro.com/allow-members-use-weak-passwords/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment