Created
May 12, 2020 21:18
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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/